Checkstyle Results

The following document contains the results of Checkstyle 10.5.1-SNAPSHOT with /home/nick/development/contribution/checkstyle-tester/split-check-files/sevntu-check-regression_part_2.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
6386 0 16593 0

Rules

Category Rule Violations Severity

Details

hibernate-orm/buildSrc/src/main/groovy/org/hibernate/build/gradle/inject/Injection.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35

hibernate-orm/buildSrc/src/main/groovy/org/hibernate/build/gradle/inject/InjectionAction.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 105
 Warning extension ReturnCountExtended Return count for 'resolveInjectionTarget' method is 2 (max allowed is 1). 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 171
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 248

hibernate-orm/buildSrc/src/main/groovy/org/hibernate/build/gradle/testing/database/DatabaseAllocationCleanUp.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

hibernate-orm/buildSrc/src/main/groovy/org/hibernate/build/gradle/testing/database/DatabaseProfilePlugin.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 140
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 166

hibernate-orm/buildSrc/src/main/groovy/org/hibernate/build/gradle/util/Jdk.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'determineJdkVersion' in constructor body leads to the call of the overridable method 'getJavaExecutable'. 60

hibernate-orm/documentation/src/main/docbook/devguide/en-US/chapters/multitenancy/extras/MultiTenantConnectionProviderImpl-multi-cp.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 2 times in the file. 6
 Warning extension MultipleStringLiteralsExtended The String "jboss" appears 2 times in the file. 7

hibernate-orm/documentation/src/main/docbook/quickstart/tutorials/envers/src/test/java/org/hibernate/tutorial/envers/EnversIllustrationTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101

hibernate-orm/documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/src/main/java/org/hibernate/osgitest/entity/DataPoint.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-c3p0/src/main/java/org/hibernate/service/jdbc/connections/internal/C3P0ConnectionProvider.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 194
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 205

hibernate-orm/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/C3P0ConnectionProviderTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50

hibernate-orm/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/StatementCacheTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/CacheMode.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 73
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/EmptyInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 82
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/Hibernate.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isPropertyInitialized' method is 3 (max allowed is 1). 154

hibernate-orm/hibernate-core/src/main/java/org/hibernate/InstantiationException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/InvalidMappingException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Could not parse mapping document from " appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/JDBCException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 73

hibernate-orm/hibernate-core/src/main/java/org/hibernate/LockOptions.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 248

hibernate-orm/hibernate-core/src/main/java/org/hibernate/MappingNotFoundException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String " not found" appears 2 times in the file. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/MultiTenancyStrategy.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'handleNaturalIdPreSaveNotifications' is called in constructor body. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 145

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/BulkOperationCleanupAction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/CollectionAction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 112
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 167

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/DelayedPostInsertIdentifier.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/EntityAction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 166

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/EntityDeleteAction.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 127 position 71 need optimization. All method calls are advised to move to end of logic expression. 127
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 140

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 56
 Warning extension MoveVariableInsideIf Variable 'persister' can be moved inside the block at line '80' to restrict runtime creation. 71
 Warning extension MoveVariableInsideIf Variable 'instance' can be moved inside the block at line '80' to restrict runtime creation. 73
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 97
 Warning extension LogicConditionNeedOptimization Condition with && at line 104 position 66 need optimization. All method calls are advised to move to end of logic expression. 104
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 125
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 178

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 131 position 53 need optimization. All method calls are advised to move to end of logic expression. 131
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 191

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 98
 Warning extension LogicConditionNeedOptimization Condition with && at line 208 position 53 need optimization. All method calls are advised to move to end of logic expression. 208
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 239
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 298

hibernate-orm/hibernate-core/src/main/java/org/hibernate/action/internal/UnresolvedEntityInsertActions.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension ReturnCountExtended Return count for 'resolveDependentActions' method is 2 (max allowed is 1). 202

hibernate-orm/hibernate-core/src/main/java/org/hibernate/annotations/CacheConcurrencyStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'fromAccessType' method is 5 (max allowed is 1). 51
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/buildtime/spi/AbstractInstrumenter.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 49
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "processing class : " appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "." appears 5 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 368

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/buildtime/spi/BasicClassFilter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/Enhancer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".class" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Could not prepare Javassist ClassPool" appears 2 times in the file. 135
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 214
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 216
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 339
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 362
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 377
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 378
 Warning extension MultipleStringLiteralsExtended The String "$" appears 2 times in the file. 384
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 397
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 399
 Warning extension MultipleStringLiteralsExtended The String "java.util.Collection" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "public void " appears 5 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "(String name) {" appears 3 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String " = new java.util.HashSet();" appears 2 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String " }" appears 2 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "}" appears 22 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "if(" appears 5 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String " == null) " appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "if (" appears 3 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String " != null) " appears 5 times in the file. 546
 Warning extension MultipleStringLiteralsExtended The String "private void " appears 2 times in the file. 623
 Warning extension MultipleStringLiteralsExtended The String ".getSize(\"" appears 2 times in the file. 664
 Warning extension MultipleStringLiteralsExtended The String "\") != " appears 2 times in the file. 666
 Warning extension MultipleStringLiteralsExtended The String "\");" appears 5 times in the file. 699
 Warning extension ReturnCountExtended Return count for 'generateFieldReader' method is 2 (max allowed is 1). 780
 Warning extension MultipleStringLiteralsExtended The String "Could not enhance entity class [%s] to add field reader method [%s]" appears 2 times in the file. 803
 Warning extension MultipleStringLiteralsExtended The String "{" appears 2 times in the file. 823
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 829
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 853
 Warning extension LogicConditionNeedOptimization Condition with && at line 870 position 67 need optimization. All method calls are advised to move to end of logic expression. 870
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.engine.spi.CompositeOwner" appears 2 times in the file. 891
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 906
 Warning extension MultipleStringLiteralsExtended The String "(\"" appears 3 times in the file. 940
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 965
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 990
 Warning extension ReturnCountExtended Return count for 'resolveAttributeTypeDescriptor' method is 2 (max allowed is 1). 1085
 Warning extension MultipleStringLiteralsExtended The String "&& ((" appears 2 times in the file. 1156
 Warning extension MultipleStringLiteralsExtended The String " == null) || (!" appears 2 times in the file. 1156
 Warning extension MultipleStringLiteralsExtended The String ".equals( $1))))" appears 2 times in the file. 1156
 Warning extension MultipleStringLiteralsExtended The String "if ( $$_hibernate_getInterceptor() != null ) { " appears 9 times in the file. 1198
 Warning extension MultipleStringLiteralsExtended The String "if ( $$_hibernate_getInterceptor() != null ) {" appears 9 times in the file. 1210
 Warning extension MultipleStringLiteralsExtended The String "this.%1$s = localVar;" appears 9 times in the file. 1213
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1220
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1244
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1268
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1292
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1316
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1340
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1364
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1388

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/javassist/FieldInterceptorImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/spi/AbstractFieldInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension ReturnCountExtended Return count for 'intercept' method is 2 (max allowed is 1). 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/AccessOptimizerAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 61
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57
 Warning extension OverridableMethodInConstructor Overridable method 'initCause' is called in constructor body. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 76
 Warning extension OverridableMethodInConstructor Overridable method 'initCause' is called in constructor body. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 87
 Warning extension OverridableMethodInConstructor Overridable method 'initCause' is called in constructor body. 90

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BulkAccessorFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.javassist.tmp." appears 2 times in the file. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93
 Warning extension MoveVariableInsideIf Variable 'target_type_index' can be moved inside the block at line '182' to restrict runtime creation. 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 181
 Warning extension MoveVariableInsideIf Variable 'target_type_index' can be moved inside the block at line '251' to restrict runtime creation. 244
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 250
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 252
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 263
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 278
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 299
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 301
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 324
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 423

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/BytecodeProviderImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getReflectionOptimizer' method is 2 (max allowed is 1). 60
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 81
 Warning extension MultipleStringLiteralsExtended The String "Passed entity instance [%s] is not of expected type [%s]" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "Entity class [%s] is not instrumented" appears 2 times in the file. 149

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/FastClass.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 65
 Warning extension MultipleStringLiteralsExtended The String "Cannot find matching method/constructor" appears 2 times in the file. 66
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 92
 Warning extension ReturnCountExtended Return count for 'getIndex' method is 2 (max allowed is 1). 102
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 105
 Warning extension ReturnCountExtended Return count for 'getIndex' method is 2 (max allowed is 1). 130
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 170

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/FieldTransformer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "()" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "(" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String ")V" appears 3 times in the file. 83
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 102
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 149
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 235
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 293
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 360
 Warning extension ReturnCountExtended Return count for 'transformInvokevirtualsIntoGetfields' method is 2 (max allowed is 1). 384
 Warning extension ReturnCountExtended Return count for 'transformInvokevirtualsIntoPutfields' method is 2 (max allowed is 1). 407
 Warning extension MultipleStringLiteralsExtended The String "Z" appears 4 times in the file. 474
 Warning extension MultipleStringLiteralsExtended The String "B" appears 4 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "C" appears 4 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "I" appears 4 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "S" appears 4 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "D" appears 4 times in the file. 519
 Warning extension MultipleStringLiteralsExtended The String "F" appears 4 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "J" appears 4 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "bad type: " appears 4 times in the file. 548

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/InstantiationOptimizerAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/JavassistClassTransformer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doTransform' method is 3 (max allowed is 1). 61
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 97
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 99

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/ProxyFactoryFactoryImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 84
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 94
 Warning extension ReturnCountExtended Return count for 'invoke' method is 6 (max allowed is 1). 111
 Warning extension LogicConditionNeedOptimization Condition with && at line 128 position 33 need optimization. All method calls are advised to move to end of logic expression. 128
 Warning extension LogicConditionNeedOptimization Condition with && at line 132 position 37 need optimization. All method calls are advised to move to end of logic expression. 132
 Warning extension LogicConditionNeedOptimization Condition with && at line 136 position 38 need optimization. All method calls are advised to move to end of logic expression. 136

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/ReflectionOptimizerImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/TransformingClassLoader.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 50
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 66
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 69
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 72

hibernate-orm/hibernate-core/src/main/java/org/hibernate/bytecode/spi/InstrumentedClassLoader.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadClass' method is 3 (max allowed is 1). 44
 Warning extension LogicConditionNeedOptimization Condition with || at line 45 position 34 need optimization. All method calls are advised to move to end of logic expression. 45
 Warning extension MultipleStringLiteralsExtended The String " not found" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 71

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/internal/NoCachingRegionFactory.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/internal/RegionFactoryInitiator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'initiateService' method is 2 (max allowed is 1). 54
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/internal/StandardQueryCache.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 74
 Warning extension ReturnCountExtended Return count for 'get' method is 4 (max allowed is 1). 132
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 145
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 153
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 189
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 221
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 226
 Warning extension MultipleStringLiteralsExtended The String "null" appears 3 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "empty" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "! result" appears 2 times in the file. 244
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 266
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 275
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 291
 Warning extension MultipleStringLiteralsExtended The String " got=" appears 2 times in the file. 294

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/CacheKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/FilterKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/NaturalIdCacheKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/QueryKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 156
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 183

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/UpdateTimestampsCache.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isUpToDate' method is 2 (max allowed is 1). 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 212

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/CollectionCacheEntry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/ReferenceCacheEntryImpl.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 78

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StandardCacheEntryImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 101

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_lazyPropertiesUnfetched" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "_subclass" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_version" appears 2 times in the file. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AbstractPropertyHolder.java

Severity Category Rule Message Line
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 73
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 73
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 76
 Warning extension MultipleStringLiteralsExtended The String ".collection&&element." appears 6 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 277
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 330
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 358

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 35
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Add sequence generator with name: {0}" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "seqhilo" appears 2 times in the file. 464
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 560
 Warning extension MoveVariableInsideIf Variable 'inheritanceJoinedColumns' can be moved inside the block at line '642' to restrict runtime creation. 569
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 712
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 740
 Warning extension MoveVariableInsideIf Variable 'discriminatorType' can be moved inside the block at line '780' to restrict runtime creation. 773
 Warning extension MoveVariableInsideIf Variable 'discFormulaAnn' can be moved inside the block at line '780' to restrict runtime creation. 777
 Warning extension ReturnCountExtended Return count for 'processJoinedDiscriminatorProperties' method is 2 (max allowed is 1). 809
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 891
 Warning extension ReturnCountExtended Return count for 'mapAsIdClass' method is 3 (max allowed is 1). 922
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 931
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 944
 Warning extension MultipleStringLiteralsExtended The String "assigned" appears 5 times in the file. 967
 Warning extension MultipleStringLiteralsExtended The String "_identifierMapper" appears 2 times in the file. 990
 Warning extension ReturnCountExtended Return count for 'isIdClassPkOfTheAssociatedEntity' method is 4 (max allowed is 1). 1044
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1142
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 1196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1362
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1508
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1515
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1526
 Warning extension MoveVariableInsideIf Variable 'groupAnnotation' can be moved inside the block at line '1,536' to restrict runtime creation. 1531
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1532
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1596
 Warning extension MoveVariableInsideIf Variable 'returnedClass' can be moved inside the block at line '1,700' to restrict runtime creation. 1627
 Warning extension LogicConditionNeedOptimization Condition with || at line 1,727 position 46 need optimization. All method calls are advised to move to end of logic expression. 1727
 Warning extension LogicConditionNeedOptimization Condition with || at line 1,768 position 46 need optimization. All method calls are advised to move to end of logic expression. 1768
 Warning extension MultipleStringLiteralsExtended The String "mapkey" appears 2 times in the file. 1935
 Warning extension MultipleStringLiteralsExtended The String "_KEY" appears 2 times in the file. 1942
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 2006
 Warning extension MultipleStringLiteralsExtended The String "Collections having FK in secondary table" appears 2 times in the file. 2013
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '2,192' to restrict runtime creation. 2191
 Warning extension MultipleStringLiteralsExtended The String "UK_" appears 2 times in the file. 2232
 Warning extension MultipleStringLiteralsExtended The String "_NaturalID" appears 2 times in the file. 2232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 2290
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2466
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2480
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2484
 Warning extension MoveVariableInsideIf Variable 'baseReturnedClassOrElement' can be moved inside the block at line '2,486' to restrict runtime creation. 2485
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2557
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2615
 Warning extension MoveVariableInsideIf Variable 'persistentClassName' can be moved inside the block at line '2,647' to restrict runtime creation. 2626
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2629
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2697
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,777 position 57 need optimization. All method calls are advised to move to end of logic expression. 2777
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 2861
 Warning extension MoveVariableInsideIf Variable 'idColumns' can be moved inside the block at line '2,923' to restrict runtime creation. 2917
 Warning extension MoveVariableInsideIf Variable 'idColumnNames' can be moved inside the block at line '2,923' to restrict runtime creation. 2918
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2918
 Warning extension MoveVariableInsideIf Variable 'currentColumn' can be moved inside the block at line '2,923' to restrict runtime creation. 2919
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 2920
 Warning extension MultipleStringLiteralsExtended The String "," appears 11 times in the file. 3088
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 2 times in the file. 3113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3138
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3173
 Warning extension MoveVariableInsideIf Variable 'nonDefault' can be moved inside the block at line '3,191' to restrict runtime creation. 3189
 Warning extension ReturnCountExtended Return count for 'hasAnnotationsOnIdClass' method is 3 (max allowed is 1). 3205

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationConfiguration.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'AnnotationConfiguration' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hibernate.proxool" appears 2 times in the file. 234

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/BaselineSessionEventsListenerBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 95
 Warning extension MoveVariableInsideIf Variable 'associatedClass' can be moved inside the block at line '261' to restrict runtime creation. 258
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 262
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 269
 Warning extension MoveVariableInsideIf Variable 'synthProp' can be moved inside the block at line '278' to restrict runtime creation. 277
 Warning extension MultipleStringLiteralsExtended The String "embedded" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "of " appears 2 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "." appears 8 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 322
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 339
 Warning extension ReturnCountExtended Return count for 'findPropertiesByColumns' method is 2 (max allowed is 1). 367
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 371
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 372
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 409
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 419
 Warning extension ReturnCountExtended Return count for 'findPropertyByName' method is 3 (max allowed is 1). 453
 Warning extension ReturnCountExtended Return count for 'findPropertyByName' method is 4 (max allowed is 1). 508
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 703
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 706
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 830
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 840

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ClassPropertyHolder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Declaring class is not found in the inheritance state hierarchy: " appears 2 times in the file. 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ComponentPropertyHolder.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 85
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 122

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 192
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 208
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 209
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 211
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 213
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 214
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 215
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 217
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 218
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 221
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 222
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 224
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 225
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 226
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 228
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 231
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 241
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 245
 Warning extension OverridableMethodInConstructor Overridable method 'reset' is called in constructor body. 277
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 479
 Warning extension MultipleStringLiteralsExtended The String "file" appears 6 times in the file. 479
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 553
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 563
 Warning extension MultipleStringLiteralsExtended The String "URL" appears 2 times in the file. 648
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "resource" appears 5 times in the file. 714
 Warning extension MultipleStringLiteralsExtended The String ".hbm.xml" appears 3 times in the file. 757
 Warning extension MultipleStringLiteralsExtended The String "Could not read mapping documents from jar: " appears 2 times in the file. 816
 Warning extension MultipleStringLiteralsExtended The String "jar" appears 3 times in the file. 816
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 828
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 948
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 990
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1032
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1164
 Warning extension MoveVariableInsideIf Variable 'tableSchema' can be moved inside the block at line '1,171' to restrict runtime creation. 1169
 Warning extension MoveVariableInsideIf Variable 'tableCatalog' can be moved inside the block at line '1,171' to restrict runtime creation. 1170
 Warning extension MoveVariableInsideIf Variable 'tableSchema' can be moved inside the block at line '1,200' to restrict runtime creation. 1198
 Warning extension MoveVariableInsideIf Variable 'tableCatalog' can be moved inside the block at line '1,200' to restrict runtime creation. 1199
 Warning extension MoveVariableInsideIf Variable 'tableSchema' can be moved inside the block at line '1,250' to restrict runtime creation. 1248
 Warning extension MoveVariableInsideIf Variable 'tableCatalog' can be moved inside the block at line '1,250' to restrict runtime creation. 1249
 Warning extension MoveVariableInsideIf Variable 'tableInfo' can be moved inside the block at line '1,255' to restrict runtime creation. 1252
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1401
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1455
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1456
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1473
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1492
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1550
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1559
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1582
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1583
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 1621
 Warning extension MultipleStringLiteralsExtended The String "', " appears 2 times in the file. 1621
 Warning extension MultipleStringLiteralsExtended The String "Processing extends queue" appears 2 times in the file. 1633
 Warning extension MoveVariableInsideIf Variable 'prop' can be moved inside the block at line '1,669' to restrict runtime creation. 1668
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1681
 Warning extension MultipleStringLiteralsExtended The String "An association from the table " appears 2 times in the file. 1743
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 1975
 Warning extension MultipleStringLiteralsExtended The String "class" appears 3 times in the file. 2172
 Warning extension MultipleStringLiteralsExtended The String "region" appears 2 times in the file. 2173
 Warning extension MultipleStringLiteralsExtended The String "usage" appears 2 times in the file. 2176
 Warning extension MultipleStringLiteralsExtended The String "package" appears 2 times in the file. 2191
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 2220
 Warning extension MultipleStringLiteralsExtended The String "entity-name" appears 2 times in the file. 2244
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 2256
 Warning extension MultipleStringLiteralsExtended The String "persistent class not known: " appears 3 times in the file. 2455
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 2594
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2607
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2618
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2629
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2640
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2651
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2662
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 2796
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 2940
 Warning extension MultipleStringLiteralsExtended The String "], [" appears 3 times in the file. 2976
 Warning extension MultipleStringLiteralsExtended The String "." appears 8 times in the file. 2986
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 2998
 Warning extension MultipleStringLiteralsExtended The String " Table [" appears 2 times in the file. 3022
 Warning extension MultipleStringLiteralsExtended The String "column-binding" appears 2 times in the file. 3025
 Warning extension MultipleStringLiteralsExtended The String " in table " appears 2 times in the file. 3079
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 3152
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 3156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3224
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3237
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3250
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3263
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3361
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3366
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3383
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 3451
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 3472
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3474
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3475
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3478
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3480
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3497
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3509
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,546 position 43 need optimization. All method calls are advised to move to end of logic expression. 3546
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3638
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3642
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3643
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 3687
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3692
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3716
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 3732
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 3733
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 3734
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 3735
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 3736

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/CopyIdentifierComponentSecondPass.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/DefaultComponentSafeNamingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_" appears 4 times in the file. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/DefaultNamingStrategy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 117

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/EJB3DTDEntityResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveEntity' method is 2 (max allowed is 1). 57
 Warning extension MultipleStringLiteralsExtended The String "orm_1_0.xsd" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "orm_2_0.xsd" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "persistence_1_0.xsd" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "persistence_2_0.xsd" appears 2 times in the file. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/EJB3NamingStrategy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension MultipleStringLiteralsExtended The String "_" appears 4 times in the file. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3Column.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 119
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 123
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 143
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 183
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 183
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 559

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3DiscriminatorColumn.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 38
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Ejb3DiscriminatorColumn' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 45
 Warning extension OverridableMethodInConstructor Overridable method 'setDiscriminatorTypeName' is called in constructor body. 48
 Warning extension LogicConditionNeedOptimization Condition with || at line 91 position 52 need optimization. All method calls are advised to move to end of logic expression. 91

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Ejb3JoinColumn' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 118
 Warning extension ReturnCountExtended Return count for 'buildJoinColumnsWithDefaultColumnSuffix' method is 2 (max allowed is 1). 200
 Warning extension ReturnCountExtended Return count for 'buildJoinColumn' method is 2 (max allowed is 1). 245
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 282
 Warning extension ReturnCountExtended Return count for 'buildJoinColumn' method is 2 (max allowed is 1). 324
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 431
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 433
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 556
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 558
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 560
 Warning extension ReturnCountExtended Return count for 'checkReferencedColumnsType' method is 5 (max allowed is 1). 562
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 567
 Warning extension MultipleStringLiteralsExtended The String "Unable to find column with logical name: " appears 2 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String " in " appears 2 times in the file. 584
 Warning extension AvoidHidingCauseException Cause exception 'me' was lost. 605
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 625

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Environment.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 208
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 225
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 266
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 273
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 317
 Warning extension MultipleStringLiteralsExtended The String "javassist" appears 2 times in the file. 344

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ExternalSessionFactoryConfig.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 327

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "package" appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "fetch-profile" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "class" appears 16 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "subclass" appears 4 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "joined-subclass" appears 4 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "union-subclass" appears 4 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "sql-query" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "resultset" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "name" appears 31 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 214
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 222
 Warning extension MultipleStringLiteralsExtended The String "param" appears 3 times in the file. 240
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 259
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 264
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 265
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 6 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 6 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "property" appears 5 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "true" appears 37 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "mutable" appears 3 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "where" appears 3 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "check" appears 5 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 381
 Warning extension MultipleStringLiteralsExtended The String "version" appears 3 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 2 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "cache" appears 2 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "usage" appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "region" appears 2 times in the file. 399
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 462
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 480
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 509
 Warning extension MultipleStringLiteralsExtended The String "false" appears 5 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "insert" appears 2 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 5 times in the file. 564
 Warning extension MultipleStringLiteralsExtended The String "entity-name" appears 3 times in the file. 571
 Warning extension MultipleStringLiteralsExtended The String "proxy" appears 2 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String "node" appears 7 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "tuplizer" appears 2 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "entity-mode" appears 2 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "batch-size" appears 2 times in the file. 682
 Warning extension MultipleStringLiteralsExtended The String "optimistic-lock" appears 3 times in the file. 690
 Warning extension MultipleStringLiteralsExtended The String "persister" appears 2 times in the file. 696
 Warning extension AvoidHidingCauseException Cause exception 'cnfe' was lost. 705
 Warning extension MultipleStringLiteralsExtended The String "synchronize" appears 2 times in the file. 713
 Warning extension MultipleStringLiteralsExtended The String "table" appears 6 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "sql-insert" appears 3 times in the file. 731
 Warning extension MultipleStringLiteralsExtended The String "sql-delete" appears 3 times in the file. 737
 Warning extension MultipleStringLiteralsExtended The String "sql-update" appears 3 times in the file. 743
 Warning extension MultipleStringLiteralsExtended The String "loader" appears 2 times in the file. 749
 Warning extension MultipleStringLiteralsExtended The String "query-ref" appears 2 times in the file. 751
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 934
 Warning extension MultipleStringLiteralsExtended The String "cascade" appears 7 times in the file. 937
 Warning extension MultipleStringLiteralsExtended The String "on-delete" appears 3 times in the file. 937
 Warning extension MultipleStringLiteralsExtended The String "fetch" appears 4 times in the file. 978
 Warning extension MultipleStringLiteralsExtended The String "inverse" appears 2 times in the file. 983
 Warning extension MultipleStringLiteralsExtended The String "many-to-one" appears 4 times in the file. 1016
 Warning extension MultipleStringLiteralsExtended The String "any" appears 4 times in the file. 1020
 Warning extension MultipleStringLiteralsExtended The String "component" appears 4 times in the file. 1028
 Warning extension MultipleStringLiteralsExtended The String "dynamic-component" appears 4 times in the file. 1028
 Warning extension MultipleStringLiteralsExtended The String "column" appears 3 times in the file. 1066
 Warning extension MoveVariableInsideIf Variable 'logicalColumnName' can be moved inside the block at line '1,082' to restrict runtime creation. 1078
 Warning extension MultipleStringLiteralsExtended The String "index" appears 6 times in the file. 1092
 Warning extension MultipleStringLiteralsExtended The String "unique-key" appears 4 times in the file. 1095
 Warning extension MultipleStringLiteralsExtended The String "formula" appears 3 times in the file. 1098
 Warning extension MultipleStringLiteralsExtended The String "unique" appears 3 times in the file. 1108
 Warning extension MoveVariableInsideIf Variable 'logicalColumnName' can be moved inside the block at line '1,136' to restrict runtime creation. 1132
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1154
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 1168
 Warning extension MultipleStringLiteralsExtended The String "foreign-key" appears 3 times in the file. 1191
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 1201
 Warning extension MultipleStringLiteralsExtended The String "id-type" appears 2 times in the file. 1203
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1240
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 1278
 Warning extension MultipleStringLiteralsExtended The String "embedded" appears 2 times in the file. 1279
 Warning extension MultipleStringLiteralsExtended The String "update" appears 2 times in the file. 1289
 Warning extension MultipleStringLiteralsExtended The String "\" for property: " appears 2 times in the file. 1316
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,323 position 38 need optimization. All method calls are advised to move to end of logic expression. 1323
 Warning extension MultipleStringLiteralsExtended The String "one-to-one" appears 4 times in the file. 1344
 Warning extension MultipleStringLiteralsExtended The String "order-by" appears 2 times in the file. 1396
 Warning extension MultipleStringLiteralsExtended The String "embed-xml" appears 4 times in the file. 1412
 Warning extension AvoidHidingCauseException Cause exception 'cnfe' was lost. 1430
 Warning extension MultipleStringLiteralsExtended The String "subselect" appears 3 times in the file. 1452
 Warning extension MultipleStringLiteralsExtended The String "element" appears 2 times in the file. 1484
 Warning extension MultipleStringLiteralsExtended The String "composite-element" appears 2 times in the file. 1484
 Warning extension MultipleStringLiteralsExtended The String "Mapping collection: %s -> %s" appears 2 times in the file. 1526
 Warning extension MultipleStringLiteralsExtended The String "delete-orphan" appears 3 times in the file. 1546
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 3 times in the file. 1571
 Warning extension MultipleStringLiteralsExtended The String "property-ref" appears 3 times in the file. 1588
 Warning extension MultipleStringLiteralsExtended The String "comment" appears 3 times in the file. 1635
 Warning extension MultipleStringLiteralsExtended The String "not-found" appears 2 times in the file. 1663
 Warning extension MultipleStringLiteralsExtended The String "ignore" appears 3 times in the file. 1664
 Warning extension MultipleStringLiteralsExtended The String "many-to-many" appears 3 times in the file. 1667
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 1705
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1708
 Warning extension MultipleStringLiteralsExtended The String "not-null" appears 2 times in the file. 1793
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,871 position 6 need optimization. All method calls are advised to move to end of logic expression. 1871
 Warning extension MultipleStringLiteralsExtended The String "auto" appears 2 times in the file. 2103
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 2113
 Warning extension MultipleStringLiteralsExtended The String "unsaved-value" appears 2 times in the file. 2158
 Warning extension MultipleStringLiteralsExtended The String "undefined" appears 2 times in the file. 2164
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 2412
 Warning extension MultipleStringLiteralsExtended The String "IndexBackref" appears 2 times in the file. 2412
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,511 position 75 need optimization. All method calls are advised to move to end of logic expression. 2511
 Warning extension LogicConditionNeedOptimization Condition with || at line 2,673 position 27 need optimization. All method calls are advised to move to end of logic expression. 2673
 Warning extension MultipleStringLiteralsExtended The String "condition" appears 3 times in the file. 2686
 Warning extension MultipleStringLiteralsExtended The String "no filter condition found for filter: " appears 2 times in the file. 2691
 Warning extension MultipleStringLiteralsExtended The String "aliases" appears 2 times in the file. 2693
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2694
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 2697
 Warning extension MultipleStringLiteralsExtended The String "autoAliasInjection" appears 2 times in the file. 2702
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 2703
 Warning extension MultipleStringLiteralsExtended The String "extends" appears 2 times in the file. 2802
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 2910
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2918
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2926
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2934
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2942
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2950
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2958
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2966
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2974
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,062 position 42 need optimization. All method calls are advised to move to end of logic expression. 3062
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3110
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 3117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3196

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ImprovedNamingStrategy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 130

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/IndexColumn.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'IndexColumn' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/InheritanceState.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension OverridableMethodInConstructor Overridable method 'setClazz' is called in constructor body. 71
 Warning extension OverridableMethodInConstructor Calling the method 'extractInheritanceType' in constructor body leads to the call of the overridable method 'getClazz'. 74
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 158
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 226
 Warning extension MultipleStringLiteralsExtended The String "No identifier specified for entity: " appears 2 times in the file. 243
 Warning extension LogicConditionNeedOptimization Condition with || at line 265 position 47 need optimization. All method calls are advised to move to end of logic expression. 265
 Warning extension LogicConditionNeedOptimization Condition with || at line 271 position 47 need optimization. All method calls are advised to move to end of logic expression. 271
 Warning extension LogicConditionNeedOptimization Condition with && at line 293 position 76 need optimization. All method calls are advised to move to end of logic expression. 293
 Warning extension MoveVariableInsideIf Variable 'parentSuperclass' can be moved inside the block at line '317' to restrict runtime creation. 312
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 332
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 340

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/NamedSQLQuerySecondPass.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension MultipleStringLiteralsExtended The String "flush-mode" appears 2 times in the file. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'normalizeIdentifierQuoting' method is 4 (max allowed is 1). 127
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 145

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 119
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 153
 Warning extension MultipleStringLiteralsExtended The String "Unknown mappedBy in: " appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String ", referenced property unknown: " appears 2 times in the file. 155

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/PropertyContainer.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 233
 Warning extension ReturnCountExtended Return count for 'discoverTypeWithoutReflection' method is 3 (max allowed is 1). 242

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/PropertyInferredData.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/PropertyPreloadedData.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ResultSetMappingBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "column" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "lock-mode" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 187
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 201
 Warning extension MultipleStringLiteralsExtended The String "dotted notation reference neither a component nor a many/one to one" appears 3 times in the file. 224

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/Settings.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 483

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 72
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 74
 Warning extension MultipleStringLiteralsExtended The String "auto" appears 2 times in the file. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 295
 Warning extension ReturnCountExtended Return count for 'getMultiTableBulkIdStrategy' method is 3 (max allowed is 1). 449
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 475
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 476
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 510
 Warning extension ReturnCountExtended Return count for 'createRegionFactory' method is 2 (max allowed is 1). 515
 Warning extension MultipleStringLiteralsExtended The String "Cache region factory : %s" appears 2 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "%s did not provide constructor accepting java.util.Properties; attempting no-arg constructor." appears 2 times in the file. 535
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 543
 Warning extension MultipleStringLiteralsExtended The String "could not instantiate RegionFactory [" appears 2 times in the file. 544
 Warning extension ReturnCountExtended Return count for 'createRegionFactory' method is 2 (max allowed is 1). 548
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 575
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 590

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/ToOneFkSecondPass.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isInPrimaryKey' method is 2 (max allowed is 1). 74
 Warning extension MoveVariableInsideIf Variable 'localPath' can be moved inside the block at line '91' to restrict runtime creation. 90
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 118

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/WrappedInferredData.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ArrayBinder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/BagBinder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 161
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 178
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 214
 Warning extension MultipleStringLiteralsExtended The String "Set do not support @CollectionId: " appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "Map do not support @CollectionId: " appears 2 times in the file. 284
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 355
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 358
 Warning extension LogicConditionNeedOptimization Condition with && at line 406 position 3 need optimization. All method calls are advised to move to end of logic expression. 406
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 462
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 464
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 467
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 468
 Warning extension ReturnCountExtended Return count for 'bindStarToManySecondPass' method is 2 (max allowed is 1). 680
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '!='. 697
 Warning extension MultipleStringLiteralsExtended The String "mappedBy reference an unknown target entity property: " appears 2 times in the file. 703
 Warning extension MultipleStringLiteralsExtended The String "." appears 12 times in the file. 704
 Warning extension MultipleStringLiteralsExtended The String " in " appears 3 times in the file. 705
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 709
 Warning extension MultipleStringLiteralsExtended The String "Illegal use of @FilterJoinTable on an association without join table:" appears 2 times in the file. 849
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 964
 Warning extension MultipleStringLiteralsExtended The String "inverse__" appears 2 times in the file. 997
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 1061
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 1061
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1107
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 1229
 Warning extension MultipleStringLiteralsExtended The String "element" appears 2 times in the file. 1243
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,347 position 63 need optimization. All method calls are advised to move to end of logic expression. 1347
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 1426
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 1434

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 155
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 173
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 180
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 187
 Warning extension AvoidHidingCauseException Cause exception 'cnfe' was lost. 310
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 472
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 599
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 751
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 778

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ListBinder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/MapBinder.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MapBinder' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 81
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 154
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 161
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 235
 Warning extension ReturnCountExtended Return count for 'createFormulatedValue' method is 2 (max allowed is 1). 311
 Warning extension MultipleStringLiteralsExtended The String "$alias$" appears 3 times in the file. 341

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 106
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 107
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 208
 Warning extension LogicConditionNeedOptimization Condition with || at line 330 position 55 need optimization. All method calls are advised to move to end of logic expression. 330
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 366

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "A named query must have a name when used in class or package level" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.cacheable" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.cacheRegion" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.fetchSize" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.readOnly" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.comment" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Binding named query: %s => %s" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.callable" appears 3 times in the file. 121
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 124
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Binding named native query: %s => %s" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String ":" appears 4 times in the file. 369

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultsetMappingSecondPass.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155
 Warning extension MultipleStringLiteralsExtended The String "dotted notation reference neither a component nor a many/one to one" appears 3 times in the file. 235

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 100
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 104
 Warning extension MultipleStringLiteralsExtended The String "blob" appears 2 times in the file. 209
 Warning extension LogicConditionNeedOptimization Condition with && at line 216 position 95 need optimization. All method calls are advised to move to end of logic expression. 216
 Warning extension LogicConditionNeedOptimization Condition with && at line 221 position 90 need optimization. All method calls are advised to move to end of logic expression. 221
 Warning extension LogicConditionNeedOptimization Condition with && at line 226 position 90 need optimization. All method calls are advised to move to end of logic expression. 226
 Warning extension LogicConditionNeedOptimization Condition with && at line 229 position 90 need optimization. All method calls are advised to move to end of logic expression. 229
 Warning extension MoveVariableInsideIf Variable 'secondPass' can be moved inside the block at line '340' to restrict runtime creation. 339
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 340
 Warning extension LogicConditionNeedOptimization Condition with && at line 352 position 65 need optimization. All method calls are advised to move to end of logic expression. 352
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 373

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 104
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 124
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 381
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 390
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 395
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 410
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 576

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/JPAMetadataProvider.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 94

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/JPAOverriddenAnnotationReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "entity" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "mapped-superclass" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "embeddable" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "table" appears 8 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "secondary-table" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "primary-key-join-column" appears 3 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "id-class" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "inheritance" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "discriminator-value" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "discriminator-column" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "named-query" appears 3 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "named-native-query" appears 3 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "sql-result-set-mapping" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "access" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "attribute-override" appears 4 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "association-override" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "map-key-attribute-override" appears 4 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "embedded-id" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "generated-value" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "column" appears 7 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "temporal" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "lob" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "enumerated" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "transient" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "basic" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "embedded" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "join-table" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "join-column" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "map-key" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "order-by" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "entity-listeners" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "pre-persist" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "pre-remove" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "pre-update" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "post-persist" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "post-remove" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "post-update" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "post-load" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "collection-table" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "map-key-class" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "map-key-temporal" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "map-key-enumerated" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "map-key-column" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "map-key-join-column" appears 3 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "order-column" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "cacheable" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "get" appears 5 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "is" appears 4 times in the file. 287
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 337
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 376
 Warning extension MultipleStringLiteralsExtended The String "attributes" appears 2 times in the file. 434
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 439
 Warning extension MultipleStringLiteralsExtended The String "name" appears 32 times in the file. 453
 Warning extension ReturnCountExtended Return count for 'getEntityListeners' method is 3 (max allowed is 1). 565
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 568
 Warning extension MultipleStringLiteralsExtended The String "class" appears 3 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "Unable to find " appears 3 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "value" appears 28 times in the file. 586
 Warning extension ReturnCountExtended Return count for 'overridesDefaultsInJoinTable' method is 3 (max allowed is 1). 597
 Warning extension LogicConditionNeedOptimization Condition with || at line 605 position 6 need optimization. All method calls are advised to move to end of logic expression. 605
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 26 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 28 times in the file. 617
 Warning extension MultipleStringLiteralsExtended The String "uniqueConstraints" appears 5 times in the file. 618
 Warning extension MultipleStringLiteralsExtended The String "joinColumns" appears 4 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String "inverseJoinColumns" appears 2 times in the file. 620
 Warning extension MultipleStringLiteralsExtended The String "optional" appears 2 times in the file. 696
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 822
 Warning extension MultipleStringLiteralsExtended The String "referenced-column-name" appears 3 times in the file. 827
 Warning extension MultipleStringLiteralsExtended The String "unique" appears 4 times in the file. 828
 Warning extension MultipleStringLiteralsExtended The String "nullable" appears 5 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "insertable" appears 5 times in the file. 830
 Warning extension MultipleStringLiteralsExtended The String "updatable" appears 5 times in the file. 831
 Warning extension MultipleStringLiteralsExtended The String "column-definition" appears 7 times in the file. 832
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 947
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 947
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 983
 Warning extension MultipleStringLiteralsExtended The String "length" appears 3 times in the file. 1026
 Warning extension MultipleStringLiteralsExtended The String "precision" appears 2 times in the file. 1027
 Warning extension MultipleStringLiteralsExtended The String "scale" appears 2 times in the file. 1028
 Warning extension MultipleStringLiteralsExtended The String "cascade" appears 2 times in the file. 1092
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1093
 Warning extension MultipleStringLiteralsExtended The String "STRING" appears 2 times in the file. 1240
 Warning extension MultipleStringLiteralsExtended The String ". " appears 3 times in the file. 1244
 Warning extension MultipleStringLiteralsExtended The String "fetch" appears 3 times in the file. 1258
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,395 position 4 need optimization. All method calls are advised to move to end of logic expression. 1395
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1401
 Warning extension MultipleStringLiteralsExtended The String "columns" appears 2 times in the file. 1407
 Warning extension ReturnCountExtended Return count for 'buildGeneratedValue' method is 2 (max allowed is 1). 1415
 Warning extension MultipleStringLiteralsExtended The String "strategy" appears 7 times in the file. 1419
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1476
 Warning extension MultipleStringLiteralsExtended The String " is not a valid access type. Check you xml confguration." appears 2 times in the file. 1476
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1519
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1539
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1617
 Warning extension ReturnCountExtended Return count for 'getColumn' method is 2 (max allowed is 1). 1633
 Warning extension ReturnCountExtended Return count for 'getAccessType' method is 4 (max allowed is 1). 1673
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1682
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1751
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1758
 Warning extension MultipleStringLiteralsExtended The String "Unable to find entity-class: " appears 3 times in the file. 1773
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1777
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1792
 Warning extension MultipleStringLiteralsExtended The String "result-class" appears 2 times in the file. 1800
 Warning extension MultipleStringLiteralsExtended The String "resultClass" appears 2 times in the file. 1812
 Warning extension MultipleStringLiteralsExtended The String "result-set-mapping" appears 2 times in the file. 1814
 Warning extension ReturnCountExtended Return count for 'getNamedQueries' method is 2 (max allowed is 1). 1836
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 1928
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1934
 Warning extension ReturnCountExtended Return count for 'getTableGenerator' method is 3 (max allowed is 1). 1970
 Warning extension MultipleStringLiteralsExtended The String "initial-value" appears 2 times in the file. 2018
 Warning extension MultipleStringLiteralsExtended The String "allocation-size" appears 2 times in the file. 2019
 Warning extension ReturnCountExtended Return count for 'getDiscriminatorColumn' method is 3 (max allowed is 1). 2059
 Warning extension MultipleStringLiteralsExtended The String " (" appears 3 times in the file. 2079
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 2079
 Warning extension ReturnCountExtended Return count for 'getInheritance' method is 3 (max allowed is 1). 2110
 Warning extension ReturnCountExtended Return count for 'getIdClass' method is 3 (max allowed is 1). 2144
 Warning extension ReturnCountExtended Return count for 'getPrimaryKeyJoinColumns' method is 2 (max allowed is 1). 2181
 Warning extension ReturnCountExtended Return count for 'getEntity' method is 2 (max allowed is 1). 2205
 Warning extension ReturnCountExtended Return count for 'getTable' method is 4 (max allowed is 1). 2258
 Warning extension ReturnCountExtended Return count for 'getSecondaryTables' method is 2 (max allowed is 1). 2310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2314
 Warning extension MultipleStringLiteralsExtended The String "pkJoinColumns" appears 2 times in the file. 2329
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2332
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 2454

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/XMLContext.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "access" appears 3 times in the file. 81
 Warning extension MoveVariableInsideIf Variable 'type' can be moved inside the block at line '128' to restrict runtime creation. 127
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 133
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "Duplicate XML entry for " appears 2 times in the file. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164
 Warning extension MultipleStringLiteralsExtended The String "entity-listener" appears 2 times in the file. 168
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 213
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 297

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationEventListener.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension MoveVariableInsideIf Variable 'validator' can be moved inside the block at line '135' to restrict runtime creation. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 157

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationIntegrator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 78
 Warning extension MultipleStringLiteralsExtended The String "Unable to check validity of passed ValidatorFactory" appears 2 times in the file. 80
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 96
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 152
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 154
 Warning extension MultipleStringLiteralsExtended The String "Error activating Bean Validation integration" appears 2 times in the file. 154
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 156
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 176
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 199

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension MultipleStringLiteralsExtended The String "ddl" appears 2 times in the file. 104
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 115

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/HibernateTraversableResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/TypeSafeActivator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188
 Warning extension MoveVariableInsideIf Variable 'hasNotNull' can be moved inside the block at line '208' to restrict runtime creation. 207
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 215
 Warning extension MultipleStringLiteralsExtended The String "." appears 4 times in the file. 222
 Warning extension MoveVariableInsideIf Variable 'col' can be moved inside the block at line '343' to restrict runtime creation. 342
 Warning extension MoveVariableInsideIf Variable 'col' can be moved inside the block at line '357' to restrict runtime creation. 356
 Warning extension ReturnCountExtended Return count for 'findPropertyByName' method is 3 (max allowed is 1). 369
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 436
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 447

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/ValidationMode.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 74

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/naming/HbmNamingStrategyDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Method not supported for Hibernate-specific mappings" appears 2 times in the file. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/naming/ImprovedNamingStrategyDelegator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/naming/LegacyNamingStrategyDelegateAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/naming/LegacyNamingStrategyDelegator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/naming/NamingStrategyDelegateAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 66
 Warning extension ReturnCountExtended Return count for 'readSize' method is 2 (max allowed is 1). 133
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 135
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 245
 Warning extension ReturnCountExtended Return count for 'readIndexExistence' method is 2 (max allowed is 1). 266
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 283
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 291
 Warning extension ReturnCountExtended Return count for 'readElementExistence' method is 2 (max allowed is 1). 294
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 311
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 319
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 322
 Warning extension ReturnCountExtended Return count for 'readElementByIndex' method is 2 (max allowed is 1). 324
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 491
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 494
 Warning extension ReturnCountExtended Return count for 'getOrphans' method is 2 (max allowed is 1). 1097

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentArrayHolder.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 66
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 95
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 192

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentBag.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'newiter' can be moved inside the block at line '195' to restrict runtime creation. 189
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 290
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 327
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 557

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentElementHolder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentIdentifierBag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 90
 Warning extension MoveVariableInsideIf Variable 'entry' can be moved inside the block at line '322' to restrict runtime creation. 320

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentIndexedElementHolder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 117
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 198

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentList.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 89
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 93
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 108
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 162
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 211
 Warning extension MultipleStringLiteralsExtended The String "negative index" appears 4 times in the file. 291
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 322
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 519
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 538
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 559
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 562
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 581
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 598

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 274
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 395
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 408
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 422
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 436
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 443
 Warning extension LogicConditionNeedOptimization Condition with && at line 448 position 28 need optimization. All method calls are advised to move to end of logic expression. 448
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 454
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 458
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 462
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 467
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 472
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 477
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 506
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 509
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 528

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentSet.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'elementType' can be moved inside the block at line '116' to restrict runtime creation. 111
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 113
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 461
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 481

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentSortedMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 74

hibernate-orm/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentSortedSet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 73

hibernate-orm/hibernate-core/src/main/java/org/hibernate/context/internal/JTASessionContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 101
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 119
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 122

hibernate-orm/hibernate-core/src/main/java/org/hibernate/context/internal/ManagedSessionContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61

hibernate-orm/hibernate-core/src/main/java/org/hibernate/context/internal/ThreadLocalSessionContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 219
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 225
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 355
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 365

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/AbstractEmptinessExpression.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 93
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 96

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/AliasedProjection.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 73
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 79
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 85
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/BetweenExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/CountProjection.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/DetachedCriteria.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 145

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Distinct.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "distinct " appears 2 times in the file. 43

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Example.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 240

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/ExistsSubqueryExpression.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/IdentifierProjection.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 66
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/InExpression.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'toSqlString' method is 2 (max allowed is 1). 49
 Warning extension LogicConditionNeedOptimization Condition with || at line 53 position 61 need optimization. All method calls are advised to move to end of logic expression. 53
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " in (" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String " ( " appears 2 times in the file. 68

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Junction.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/LikeExpression.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'dialect' can be moved inside the block at line '86' to restrict runtime creation. 79
 Warning extension MultipleStringLiteralsExtended The String " like ?" appears 2 times in the file. 91

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/NaturalIdentifier.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/NotNullExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " is not null" appears 2 times in the file. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/NullExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " is null" appears 2 times in the file. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension MultipleStringLiteralsExtended The String "asc" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/ProjectionList.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 73
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 118
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 127
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 147

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/PropertyProjection.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 72
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Restrictions.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String " like " appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String ">" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "<" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "<=" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String ">=" appears 3 times in the file. 181

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/SQLCriterion.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/SQLProjection.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{alias}" appears 2 times in the file. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 70
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 92
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 96

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/SimpleProjection.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 65
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 73

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/Subqueries.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 5 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "all" appears 10 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "in" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "not in" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String ">" appears 6 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "<" appears 6 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String ">=" appears 6 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "<=" appears 6 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "some" appears 8 times in the file. 117

hibernate-orm/hibernate-core/src/main/java/org/hibernate/criterion/SubqueryExpression.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'AbstractTransactSQLDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "datetime" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "len" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "reverse" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getdate" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "getutcdate" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "datename" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "square" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "isnull" appears 2 times in the file. 117
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 176
 Warning extension MultipleStringLiteralsExtended The String " " appears 4 times in the file. 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 195

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CUBRIDDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 56
 Warning extension MultipleStringLiteralsExtended The String "short" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "trim" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "length" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "bit_length" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "coalesce" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "nullif" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "nvl2" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "to_date" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "last_day" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "instr" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "instrb" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "substrb" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "translate" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "add_months" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "months_between" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "systime" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "systimestamp" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "rownum" appears 2 times in the file. 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Cache71Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 222
 Warning extension MultipleStringLiteralsExtended The String "longvarbinary" appears 3 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "longvarchar" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "%alphaup" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "character_length" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "char_length" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "," appears 33 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String ")" appears 34 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "curdate" appears 2 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "curtime" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "database" appears 2 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "%exact" appears 2 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "%external" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "getdate" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "%internal" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "isnumeric" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "left" appears 2 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "len" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "$listlength" appears 2 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "log" appears 3 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 3 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 3 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "%odbcin" appears 3 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "%pattern" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "right" appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "%startswith" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "timestampadd" appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "timestampdiff" appears 2 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "todate(" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "tonumber" appears 3 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "truncate" appears 2 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "%upper" appears 2 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "user" appears 3 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 422
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 561
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 664
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 668

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DB2Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 57
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "bigint" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "float" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "double" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "date" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "time" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "varchar($l) for bit data" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "absval" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "hex" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "julian_day" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "microsecond" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "midnight_seconds" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "dayofweek_iso" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "days" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "timestamp_iso" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "week_iso" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "varchar" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "real" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "digits" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "posstr" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String " fetch first " appears 2 times in the file. 247

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DerbyDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 58
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82
 Warning extension MultipleStringLiteralsExtended The String " for update with rs" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "with " appears 2 times in the file. 228

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/DerbyTenFiveDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DerbyTenFiveDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/DerbyTenSixDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DerbyTenSixDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 109
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 134
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 135
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 136
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 137
 Warning extension MultipleStringLiteralsExtended The String "length" appears 2 times in the file. 137
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 138
 Warning extension MultipleStringLiteralsExtended The String "bit_length" appears 2 times in the file. 138
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 139
 Warning extension MultipleStringLiteralsExtended The String "coalesce" appears 2 times in the file. 139
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 140
 Warning extension MultipleStringLiteralsExtended The String "nullif" appears 2 times in the file. 140
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 141
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 141
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 142
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 142
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 143
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 143
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 144
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 144
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 145
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 3 times in the file. 145
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 146
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 147
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 150
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 151
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 152
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 153
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 154
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 155
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunction' is called in constructor body. 157
 Warning extension MultipleStringLiteralsExtended The String "bit varying($l)" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "varchar($l)" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "nvarchar($l)" appears 2 times in the file. 184
 Warning extension AvoidHidingCauseException Cause exception 'cnfe' was lost. 253
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 255
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 265
 Warning extension MultipleStringLiteralsExtended The String "cast(" appears 2 times in the file. 330
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 424
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 445
 Warning extension MultipleStringLiteralsExtended The String "unable to merge BLOB data" appears 2 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "unable to merge CLOB data" appears 2 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String "unable to merge NCLOB data" appears 2 times in the file. 493
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 505
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 555
 Warning extension MultipleStringLiteralsExtended The String "No Hibernate type mapping for java.sql.Types code: " appears 2 times in the file. 574
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 642
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 653
 Warning extension MultipleStringLiteralsExtended The String " does not support identity key generation" appears 2 times in the file. 750
 Warning extension MultipleStringLiteralsExtended The String " does not support sequences" appears 4 times in the file. 820
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 914
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1067
 Warning extension MultipleStringLiteralsExtended The String "create table" appears 2 times in the file. 1388
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 1479
 Warning extension MultipleStringLiteralsExtended The String " does not support resultsets via stored procedures" appears 2 times in the file. 1507
 Warning extension MultipleStringLiteralsExtended The String "Database not known to define a current timestamp function" appears 2 times in the file. 1547
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1636
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1642
 Warning extension MultipleStringLiteralsExtended The String " add constraint " appears 3 times in the file. 1883
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 1886
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 2109

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/FrontBaseDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'FrontBaseDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 57
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'H2Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 59
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "decimal($p,$s)" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "bitand" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "bitor" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "bitxor" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "decrypt" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "encrypt" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "hash" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "roundmagic" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "truncate" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "difference" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "hextoraw" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "left" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "octet_length" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "position" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "rawtohex" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "repeat" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "right" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "stringencode" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "stringdecode" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "stringtoutf8" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "utf8tostring" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "curdate" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "curtime" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "curtimestamp" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "datediff" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "database" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 190
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 267
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 271
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 275
 Warning extension MultipleStringLiteralsExtended The String "violation: " appears 2 times in the file. 288
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 309
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 313
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 317

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'HSQLDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 80
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 89
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "longvarbinary" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "longvarchar" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "reverse" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "rawtohex" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "hextoraw" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "database" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 4 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "curdate" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "curtime" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "roundmagic" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "truncate" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "rownum" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "create sequence " appears 2 times in the file. 298
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 334
 Warning extension MultipleStringLiteralsExtended The String " table:" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String " in statement [" appears 2 times in the file. 354
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 377
 Warning extension MultipleStringLiteralsExtended The String "; " appears 4 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String " table: " appears 4 times in the file. 386
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 3 (max allowed is 1). 622

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'InformixDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "decimal" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "smallfloat" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "varchar($l)" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 122
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 203

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Ingres10Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Ingres10Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 43
 Warning extension OverridableMethodInConstructor Overridable method 'registerBooleanSupport' is called in constructor body. 44
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Ingres9Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Ingres9Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 50
 Warning extension OverridableMethodInConstructor Overridable method 'registerDateTimeFunctions' is called in constructor body. 51
 Warning extension OverridableMethodInConstructor Overridable method 'registerDateTimeColumnTypes' is called in constructor body. 52
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'IngresDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 53
 Warning extension MultipleStringLiteralsExtended The String "tinyint" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "decimal($p, $s)" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "long byte" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "long varchar" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "bit_add" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "bit_and" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "bit_not" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "bit_or" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "bit_xor" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "character_length" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "charextract" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "current_user" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "date('now')" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "date_trunc" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "dba" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "dow" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "gmt_timestamp" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "hash" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "hex" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "initial_user" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "intextract" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "left" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "length" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "octet_length" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "pad" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "position" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "random" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "randomf" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "right" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "session_user" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "size" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "squeeze" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "system_user" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "unhex" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "uppercase" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "usercode" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "username" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "uuid_create" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "uuid_compare" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "uuid_from_char" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "uuid_to_char" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 143

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/InterbaseDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'InterbaseDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 40
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "blob" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String " with lock" appears 2 times in the file. 90

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/JDataStoreDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'JDataStoreDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 40
 Warning extension MultipleStringLiteralsExtended The String "tinyint" appears 2 times in the file. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MckoiDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "least" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "greatest" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "concat" appears 2 times in the file. 79
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MimerSQLDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension MultipleStringLiteralsExtended The String "NCLOB($l)" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "BLOB($1)" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "dacos" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "dasin" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "datan" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "datan2" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "dcos" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "dcot" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "ddegrees" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "dexp" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "dlog" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "dlog10" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "dradian" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "dsin" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "dsqrt" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "dtan" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "dpower" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "time" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "varchar" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "real" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "bigint" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "ascii_char" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "ascii_code" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "unicode_char" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "unicode_code" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "char_length" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "bit_length" appears 2 times in the file. 133

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/MySQL57InnoDBDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MySQL57InnoDBDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "longtext" appears 2 times in the file. 40
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MySQLDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "time" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "longblob" appears 3 times in the file. 63
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 64
 Warning extension MultipleStringLiteralsExtended The String "mediumblob" appears 2 times in the file. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension MultipleStringLiteralsExtended The String "longtext" appears 3 times in the file. 74
 Warning extension OverridableMethodInConstructor Overridable method 'registerVarcharTypes' is called in constructor body. 77
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "bin" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "char_length" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "character_length" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "ord" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "quote" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "reverse" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "unhex" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "crc32" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "log2" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "ceiling" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "datediff" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "timediff" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "date_format" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "curdate" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "curtime" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "from_days" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "from_unixtime" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "last_day" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "localtime" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "localtimestamp" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "microseconds" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "sec_to_time" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "time_to_sec" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "to_days" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "unix_timestamp" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "utc_date" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "utc_time" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "utc_timestamp" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "weekday" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "weekofyear" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "yearweek" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "hex" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "oct" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "octet_length" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "bit_length" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "bit_count" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "encrypt" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "md5" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "sha1" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "sha" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "concat" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 360

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Oracle10gDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Oracle8iDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 66
 Warning extension OverridableMethodInConstructor Overridable method 'registerCharacterTypeMappings' is called in constructor body. 67
 Warning extension OverridableMethodInConstructor Overridable method 'registerNumericTypeMappings' is called in constructor body. 68
 Warning extension OverridableMethodInConstructor Overridable method 'registerDateTimeTypeMappings' is called in constructor body. 69
 Warning extension OverridableMethodInConstructor Overridable method 'registerLargeObjectTypeMappings' is called in constructor body. 70
 Warning extension OverridableMethodInConstructor Overridable method 'registerReverseHibernateTypeMappings' is called in constructor body. 71
 Warning extension OverridableMethodInConstructor Overridable method 'registerFunctions' is called in constructor body. 72
 Warning extension OverridableMethodInConstructor Overridable method 'registerDefaultProperties' is called in constructor body. 73
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "number(1,0)" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "number($p,$s)" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "raw($l)" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "long raw" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "bitand" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "cosh" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "sinh" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "tanh" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "initcap" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "to_date" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 3 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "last_day" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 3 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "systimestamp" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "uid" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "rowid" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "rownum" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "instr" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "instrb" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "substrb" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "translate" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "nvl2" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "add_months" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "months_between" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "next_day" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String " of " appears 2 times in the file. 360
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 396
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 407
 Warning extension ReturnCountExtended Return count for 'convert' method is 4 (max allowed is 1). 424
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 440
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 448
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 452
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 460
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 468
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 479
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 480
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 482
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 485
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 512

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Oracle9Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 61
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "number($p,$s)" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "cosh" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "sinh" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "tanh" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "initcap" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 3 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "to_date" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 3 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "last_day" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "systimestamp" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "uid" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "rowid" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "rownum" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "instr" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "instrb" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "substrb" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "translate" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "nvl2" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "add_months" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "months_between" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "next_day" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String " of " appears 2 times in the file. 247
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 274
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 278
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 309

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9iDialect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'OracleDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 47
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 70

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/PointbaseDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PointbaseDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48
 Warning extension MultipleStringLiteralsExtended The String "smallint" appears 3 times in the file. 49
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PostgreSQL81Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 63
 Warning extension MultipleStringLiteralsExtended The String "int2" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "bytea" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "cbrt" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "random" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "initcap" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "to_ascii" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "quote_ident" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "quote_literal" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "md5" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "char_length" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "bit_length" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "octet_length" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "date_trunc" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "localtime" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "localtimestamp" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "timeofday" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "current_user" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "session_user" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "current_database" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "current_schema" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "to_date" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "to_timestamp" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "to_number" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 156
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 348
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 356
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 3 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String " for update" appears 2 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String " nowait " appears 2 times in the file. 474

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PostgresPlusDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 43
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "rowid" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "rownum" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "instr" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "translate" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "nvl2" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "add_months" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "months_between" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "next_day" appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/ProgressDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ProgressDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'RDMSOS2200Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 64
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "char_length" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "character_length" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "instr" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "lcase" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "reverse" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "space" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "ucase" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "cosh" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "cot" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "log" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "log10" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "rand" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "sinh" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "sqrt" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "tanh" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "chr" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "initcap" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "curdate" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "curtime" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "days" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "hour" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "last_day" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "microsecond" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "minute" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "month" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "quarter" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "time" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "week" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "SMALLINT" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "NUMERIC(21,$l)" appears 2 times in the file. 196
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 334

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/ResultColumnReferenceStrategy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SAPDBDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 45
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "time" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "long byte" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "sign" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "exp" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "ln" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "pi" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "power" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "acos" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "asin" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "atan" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "cos" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "cosh" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "sin" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "sinh" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "tan" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "tanh" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "radians" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "degrees" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "atan2" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "round" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "trunc" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "ceil" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "floor" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "greatest" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "least" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "microsecond" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "dayname" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "monthname" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "dayofmonth" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "dayofweek" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "dayofyear" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "weekofyear" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "translate" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "lpad" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "rpad" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "substr" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "initcap" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "ltrim" appears 3 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "soundex" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "ascii" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 158

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "varbinary(MAX)" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "varchar(MAX)" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "row_number" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String " with (updlock, rowlock, nowait)" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String " )" appears 2 times in the file. 91
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 109

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2008Dialect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "image" appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/Sybase11Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Sybase11Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 34

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE157Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SybaseASE157Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 53
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 112

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SybaseASE15Dialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 45
 Warning extension MultipleStringLiteralsExtended The String "atn2(?1, ?2" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "coalesce" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "data_pages" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "dateadd" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "datediff" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "datepart" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "datetime" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "host_id" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "host_name" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "pagesize" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "partition_id" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "partition_name" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "patindex" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "proc_role" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "role_name" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "row_count" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "rand2" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "role_contain" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "role_id" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "reserved_pages" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "right" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "show_role" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "show_sec_services" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "stddev" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "stddev_pop" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "stddev_samp" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "stuff" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "suser_id" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "suser_name" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "tempdb_id" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "textvalid" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "uhighsurr" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "ulowsurr" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "uscalar" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "used_pages" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "user_id" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "user_name" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "valid_name" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "valid_user" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "var_pop" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "var_samp" appears 2 times in the file. 166

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'TeradataDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 47
 Warning extension MultipleStringLiteralsExtended The String "BYTEINT" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "current_timestamp" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "current_time" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 2 times in the file. 93
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 175
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'TimesTenDialect' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 63
 Warning extension MultipleStringLiteralsExtended The String "TINYINT" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "upper" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "rtrim" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "concat" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "mod" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "to_char" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "to_date" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "sysdate" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "getdate" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "nvl" appears 2 times in the file. 94
 Warning extension ReturnCountExtended Return count for 'getLockingStrategy' method is 2 (max allowed is 1). 214

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/AbstractAnsiTrimEmulationFunction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'render' method is 2 (max allowed is 1). 62
 Warning extension MultipleStringLiteralsExtended The String "from" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "' '" appears 3 times in the file. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/AnsiTrimEmulationFunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "(?1)" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "(" appears 18 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "?1," appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "' '," appears 6 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "'" appears 9 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String ")," appears 9 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "?2," appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "' '" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String ")" appears 7 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "?2" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "'," appears 3 times in the file. 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/CharIndexFunction.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '60' to restrict runtime creation. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/ConvertFunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " , " appears 2 times in the file. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyConcatFunction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'render' method is 2 (max allowed is 1). 86

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 77
 Warning extension ReturnCountExtended Return count for 'getReturnType' method is 6 (max allowed is 1). 159

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/StandardJDBCEscapeFunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{fn " appears 2 times in the file. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/StandardSQLFunction.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/TemplateRenderer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/function/TrimFunctionTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "leading" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "trailing" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "both" appears 2 times in the file. 80

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/AbstractSelectLockingStrategy.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'generateLockString' is called in constructor body. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticForceIncrementLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticForceIncrementLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 2 times in the file. 128

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadUpdateLockingStrategy.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 78
 Warning extension OverridableMethodInConstructor Overridable method 'generateLockString' is called in constructor body. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 2 times in the file. 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteUpdateLockingStrategy.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 77
 Warning extension OverridableMethodInConstructor Overridable method 'generateLockString' is called in constructor body. 82

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 2 times in the file. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/lock/UpdateLockingStrategy.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 75
 Warning extension OverridableMethodInConstructor Overridable method 'generateLockString' is called in constructor body. 80

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/pagination/NoopLimitHandler.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 18

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/pagination/SQLServer2005LimitHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension MultipleStringLiteralsExtended The String "page" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String " as " appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String " TOP(?)" appears 2 times in the file. 235
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 273

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/resolver/BasicSQLExceptionConverter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 43

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "alter table " appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String " add constraint " appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String " drop constraint " appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String " unique (" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/dialect/unique/InformixUniqueDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "alter table " appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String " add constraint " appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String " constraint " appears 2 times in the file. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/ResultSetMappingDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 104
 Warning extension MoveVariableInsideIf Variable 'propertyName' can be moved inside the block at line '163' to restrict runtime creation. 157
 Warning extension MultipleStringLiteralsExtended The String "Deleting orphaned entity instance: {0}" appears 2 times in the file. 267
 Warning extension MoveVariableInsideIf Variable 'subPropertyName' can be moved inside the block at line '316' to restrict runtime creation. 315
 Warning extension MoveVariableInsideIf Variable 'entityName' can be moved inside the block at line '393' to restrict runtime creation. 390
 Warning extension LogicConditionNeedOptimization Condition with && at line 416 position 58 need optimization. All method calls are advised to move to end of logic expression. 416

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 67
 Warning extension ReturnCountExtended Return count for 'removeEntityEntry' method is 2 (max allowed is 1). 151
 Warning extension ReturnCountExtended Return count for 'deserialize' method is 2 (max allowed is 1). 284
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 331

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'nullifyTransientReferences' method is 3 (max allowed is 1). 82
 Warning extension ReturnCountExtended Return count for 'isNullifiable' method is 4 (max allowed is 1). 127
 Warning extension ReturnCountExtended Return count for 'isTransient' method is 4 (max allowed is 1). 194

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/JoinHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getLHSColumnNames' method is 2 (max allowed is 1). 118
 Warning extension ReturnCountExtended Return count for 'getLHSTableName' method is 2 (max allowed is 1). 150
 Warning extension LogicConditionNeedOptimization Condition with || at line 154 position 31 need optimization. All method calls are advised to move to end of logic expression. 154

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 115
 Warning extension MultipleStringLiteralsExtended The String " and " appears 5 times in the file. 193
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 281

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 192
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 197
 Warning extension ReturnCountExtended Return count for 'findCachedNaturalIdResolution' method is 4 (max allowed is 1). 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 423
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 424

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/Nullability.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 72
 Warning extension MultipleStringLiteralsExtended The String "not-null property references a null or transient value" appears 2 times in the file. 104
 Warning extension ReturnCountExtended Return count for 'checkComponentNullability' method is 2 (max allowed is 1). 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 178

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/ParameterBinder.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'bindNamedParameters' method is 2 (max allowed is 1). 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/SessionEventListenerManagerImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 100
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 314
 Warning extension ReturnCountExtended Return count for 'getNaturalIdSnapshot' method is 4 (max allowed is 1). 324
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 327
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 355
 Warning extension ReturnCountExtended Return count for 'narrowProxy' method is 4 (max allowed is 1). 714
 Warning extension ReturnCountExtended Return count for 'getCollectionOwner' method is 6 (max allowed is 1). 795
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1170
 Warning extension ReturnCountExtended Return count for 'getOwnerId' method is 3 (max allowed is 1). 1312
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1364
 Warning extension MultipleStringLiteralsExtended The String "contains" appears 5 times in the file. 1364
 Warning extension MultipleStringLiteralsExtended The String "does not contain" appears 5 times in the file. 1364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1394
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1406
 Warning extension ReturnCountExtended Return count for 'getIndexInOwner' method is 3 (max allowed is 1). 1437
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1460
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1487
 Warning extension MultipleStringLiteralsExtended The String "object must be non-null." appears 2 times in the file. 1537
 Warning extension MultipleStringLiteralsExtended The String "Instance was not associated with this persistence context" appears 2 times in the file. 1546
 Warning extension MultipleStringLiteralsExtended The String "Serializing persistent-context" appears 2 times in the file. 1631
 Warning extension MultipleStringLiteralsExtended The String "Starting serialization of [" appears 8 times in the file. 1637
 Warning extension MultipleStringLiteralsExtended The String "] entitiesByKey entries" appears 2 times in the file. 1637
 Warning extension MultipleStringLiteralsExtended The String "] entitiesByUniqueKey entries" appears 2 times in the file. 1646
 Warning extension MultipleStringLiteralsExtended The String "] proxiesByKey entries" appears 2 times in the file. 1655
 Warning extension MultipleStringLiteralsExtended The String "] entitySnapshotsByKey entries" appears 2 times in the file. 1664
 Warning extension MultipleStringLiteralsExtended The String "] collectionsByKey entries" appears 2 times in the file. 1683
 Warning extension MultipleStringLiteralsExtended The String "] collectionEntries entries" appears 2 times in the file. 1692
 Warning extension MultipleStringLiteralsExtended The String "] arrayHolders entries" appears 2 times in the file. 1701
 Warning extension MultipleStringLiteralsExtended The String "] nullifiableEntityKey entries" appears 2 times in the file. 1710
 Warning extension MultipleStringLiteralsExtended The String "Starting deserialization of [" appears 8 times in the file. 1737
 Warning extension MoveVariableInsideIf Variable 'ek' can be moved inside the block at line '1,764' to restrict runtime creation. 1762
 Warning extension AvoidHidingCauseException Cause exception 'he' was lost. 1823
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1842
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1885
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1887
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 2063

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/StatisticalLoggingSessionEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 139
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 206
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 224
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 247
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 254
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 269

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/TwoPhaseLoad.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 246

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/internal/UnsavedValueFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48
 Warning extension ReturnCountExtended Return count for 'getUnsavedIdentifierValue' method is 5 (max allowed is 1). 59
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "undefined" appears 2 times in the file. 82
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 96
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 98
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 99
 Warning extension ReturnCountExtended Return count for 'getUnsavedVersionValue' method is 4 (max allowed is 1). 104

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/BlobProxy.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ioe' was lost. 92
 Warning extension ReturnCountExtended Return count for 'invoke' method is 8 (max allowed is 1). 107
 Warning extension LogicConditionNeedOptimization Condition with && at line 111 position 37 need optimization. All method calls are advised to move to end of logic expression. 111
 Warning extension MultipleStringLiteralsExtended The String "Start position 1-based; must be 1 or more." appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Length must be great-than-or-equal to zero." appears 2 times in the file. 133
 Warning extension LogicConditionNeedOptimization Condition with && at line 151 position 35 need optimization. All method calls are advised to move to end of logic expression. 151
 Warning extension LogicConditionNeedOptimization Condition with && at line 155 position 39 need optimization. All method calls are advised to move to end of logic expression. 155
 Warning extension LogicConditionNeedOptimization Condition with && at line 158 position 37 need optimization. All method calls are advised to move to end of logic expression. 158
 Warning extension LogicConditionNeedOptimization Condition with && at line 161 position 39 need optimization. All method calls are advised to move to end of logic expression. 161

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ClobProxy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 9 (max allowed is 1). 108
 Warning extension LogicConditionNeedOptimization Condition with && at line 112 position 37 need optimization. All method calls are advised to move to end of logic expression. 112
 Warning extension LogicConditionNeedOptimization Condition with && at line 118 position 45 need optimization. All method calls are advised to move to end of logic expression. 118
 Warning extension MultipleStringLiteralsExtended The String "Start position 1-based; must be 1 or more." appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Start position [" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "] cannot exceed overall CLOB length [" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Length must be great-than-or-equal to zero." appears 2 times in the file. 137
 Warning extension LogicConditionNeedOptimization Condition with && at line 142 position 43 need optimization. All method calls are advised to move to end of logic expression. 142
 Warning extension LogicConditionNeedOptimization Condition with && at line 156 position 35 need optimization. All method calls are advised to move to end of logic expression. 156
 Warning extension LogicConditionNeedOptimization Condition with && at line 160 position 39 need optimization. All method calls are advised to move to end of logic expression. 160
 Warning extension LogicConditionNeedOptimization Condition with && at line 163 position 37 need optimization. All method calls are advised to move to end of logic expression. 163
 Warning extension LogicConditionNeedOptimization Condition with && at line 166 position 39 need optimization. All method calls are advised to move to end of logic expression. 166

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ContextualLobCreator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 149

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ResultSetWrapperProxy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 91
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 185

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableBlobProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 78

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableClobProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 78

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableNClobProxy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchBuilderImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 58
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchBuilderInitiator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/BasicFormatterImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String "set" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "by" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "union" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "end" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "insert" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "update" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "select" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "on" appears 2 times in the file. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 148
 Warning extension LogicConditionNeedOptimization Condition with || at line 357 position 36 need optimization. All method calls are advised to move to end of logic expression. 357
 Warning extension LogicConditionNeedOptimization Condition with || at line 377 position 73 need optimization. All method calls are advised to move to end of logic expression. 377

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/BinaryStreamImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/DDLFormatterImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\n " appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "\n " appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "\n " appears 2 times in the file. 96
 Warning extension LogicConditionNeedOptimization Condition with && at line 128 position 29 need optimization. All method calls are advised to move to end of logic expression. 128

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 229
 Warning extension MultipleStringLiteralsExtended The String "unable to access statement from resultset" appears 2 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "Unable to release JDBC statement [%s]" appears 2 times in the file. 522
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 524
 Warning extension MultipleStringLiteralsExtended The String "Unable to release JDBC result set [%s]" appears 2 times in the file. 545
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 547

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'jdbcConnectionAccess' can be moved inside the block at line '115' to restrict runtime creation. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension MultipleStringLiteralsExtended The String " name : %s\n" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " version : %s\n" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " major : %s\n" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " minor : %s" appears 2 times in the file. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 185
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 281
 Warning extension ReturnCountExtended Return count for 'determineExplicitSchemaNameResolver' method is 2 (max allowed is 1). 283
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 301
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/LobCreatorBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 65
 Warning extension ReturnCountExtended Return count for 'useContextualLobCreation' method is 4 (max allowed is 1). 77
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 114
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 119

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/LogicalConnectionImpl.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 330

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/ResultSetReturnImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'extract' method is 2 (max allowed is 1). 65
 Warning extension MultipleStringLiteralsExtended The String "could not extract ResultSet" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "could not execute statement" appears 4 times in the file. 153

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'prepareQueryStatement' method is 2 (max allowed is 1). 134

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/TypeInfoExtracter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95
 Warning extension MultipleStringLiteralsExtended The String ", SQLState: " appears 2 times in the file. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 224
 Warning extension MultipleStringLiteralsExtended The String "could not log warnings" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "could not clear warnings" appears 2 times in the file. 273

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/loading/internal/CollectionLoadContext.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 85
 Warning extension ReturnCountExtended Return count for 'getLoadingCollection' method is 5 (max allowed is 1). 111
 Warning extension MoveVariableInsideIf Variable 'factory' can be moved inside the block at line '351' to restrict runtime creation. 286
 Warning extension MoveVariableInsideIf Variable 'cacheKey' can be moved inside the block at line '351' to restrict runtime creation. 337

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/loading/internal/LoadContexts.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 158
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 252

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/profile/FetchProfile.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/FilterQueryPlan.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 160
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 207
 Warning extension MoveVariableInsideIf Variable 'maxReasonableAllocation' can be moved inside the block at line '244' to restrict runtime creation. 243
 Warning extension ReturnCountExtended Return count for 'performIterate' method is 2 (max allowed is 1). 265
 Warning extension MultipleStringLiteralsExtended The String "Iterate: {0}" appears 2 times in the file. 269
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '330' to restrict runtime creation. 327
 Warning extension MoveVariableInsideIf Variable 'end' can be moved inside the block at line '330' to restrict runtime creation. 329
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 331
 Warning extension LogicConditionNeedOptimization Condition with && at line 336 position 64 need optimization. All method calls are advised to move to end of logic expression. 336
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 351

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/NamedParameterDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/NativeSQLQueryPlan.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/OrdinalParameterDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParamLocationRecognizer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParameterMetadata.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParameterParser.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 114
 Warning extension ReturnCountExtended Return count for 'startsWithEscapeCallTemplate' method is 2 (max allowed is 1). 136
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 150
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 150

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/QueryMetadata.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/QueryPlanCache.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 339

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/ReturnMetadata.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/query/spi/sql/NativeSQLQueryNonScalarReturn.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 368
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 732
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 753
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 763
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 766
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 798
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 821
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 825
 Warning extension LogicConditionNeedOptimization Condition with && at line 904 position 29 need optimization. All method calls are advised to move to end of logic expression. 904

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/AssociationKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/BatchFetchQueue.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension ReturnCountExtended Return count for 'getEntityBatch' method is 2 (max allowed is 1). 179
 Warning extension MoveVariableInsideIf Variable 'i' can be moved inside the block at line '193' to restrict runtime creation. 186
 Warning extension MoveVariableInsideIf Variable 'end' can be moved inside the block at line '193' to restrict runtime creation. 187
 Warning extension MoveVariableInsideIf Variable 'checkForEnd' can be moved inside the block at line '193' to restrict runtime creation. 188
 Warning extension ReturnCountExtended Return count for 'getCollectionBatch' method is 2 (max allowed is 1). 268
 Warning extension MoveVariableInsideIf Variable 'i' can be moved inside the block at line '281' to restrict runtime creation. 276
 Warning extension MoveVariableInsideIf Variable 'end' can be moved inside the block at line '281' to restrict runtime creation. 277
 Warning extension MoveVariableInsideIf Variable 'checkForEnd' can be moved inside the block at line '281' to restrict runtime creation. 278
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 282

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadeStyle.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 176
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 189
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 202
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 214
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 227
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 241
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 254
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 275
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 285
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 285
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 288
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 288

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingAction.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 224
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 253
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 283
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 310
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 341
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 414

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 270
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 446

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 139

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 135
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 219
 Warning extension ReturnCountExtended Return count for 'isUnequivocallyNonDirty' method is 4 (max allowed is 1). 317
 Warning extension LogicConditionNeedOptimization Condition with && at line 353 position 4 need optimization. All method calls are advised to move to end of logic expression. 353
 Warning extension LogicConditionNeedOptimization Condition with && at line 354 position 4 need optimization. All method calls are advised to move to end of logic expression. 354
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 419
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 449
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 453

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityUniqueKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension OverridableMethodInConstructor Overridable method 'generateHashCode' is called in constructor body. 66

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/FilterDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/IdentifierValue.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 107
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 111

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/LoadQueryInfluencers.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension MultipleStringLiteralsExtended The String "Filter [" appears 2 times in the file. 137

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 125

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/QueryParameters.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 375
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 527
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 531
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 535
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 539
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 543
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 548

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/SubselectFetch.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/spi/VersionValue.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 82

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionFactoryInitiator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension ReturnCountExtended Return count for 'initiateService' method is 2 (max allowed is 1). 61
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jdbc/JdbcIsolationDelegate.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90
 Warning extension MultipleStringLiteralsExtended The String "error performing isolated work" appears 2 times in the file. 98
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 109
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jdbc/JdbcTransaction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 131

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaIsolationDelegate.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'delegateWork' method is 2 (max allowed is 1). 78
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 134
 Warning extension MultipleStringLiteralsExtended The String "Unable to start isolated transaction" appears 2 times in the file. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 163
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 171

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaStatusHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Could not determine transaction status" appears 2 times in the file. 57

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaTransaction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 158
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 208

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaTransactionFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isJoinableJtaTransaction' method is 3 (max allowed is 1). 64
 Warning extension MultipleStringLiteralsExtended The String "Unable to check transaction status" appears 2 times in the file. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/AbstractTransactionImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Transaction not successfully started" appears 2 times in the file. 170
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 182
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 213

hibernate-orm/hibernate-core/src/main/java/org/hibernate/engine/transaction/synchronization/internal/SynchronizationCallbackCoordinatorNonTrackingImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'reset' is called in constructor body. 56
 Warning extension MultipleStringLiteralsExtended The String "could not determine transaction status in beforeCompletion()" appears 2 times in the file. 103
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 180

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/AbstractFlushingEventListener.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/AbstractLockUpgradeEventListener.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 91 position 33 need optimization. All method calls are advised to move to end of logic expression. 91

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/AbstractReassociateEventListener.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'saveWithGeneratedId' method is 3 (max allowed is 1). 110
 Warning extension ReturnCountExtended Return count for 'performSave' method is 2 (max allowed is 1). 157
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 347
 Warning extension LogicConditionNeedOptimization Condition with || at line 402 position 5 need optimization. All method calls are advised to move to end of logic expression. 402
 Warning extension ReturnCountExtended Return count for 'getEntityState' method is 4 (max allowed is 1). 469
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 514

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultAutoFlushEventListener.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'oldSize' can be moved inside the block at line '76' to restrict runtime creation. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 127
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 150

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultEvictEventListener.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 109

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 165 position 40 need optimization. All method calls are advised to move to end of logic expression. 165
 Warning extension MoveVariableInsideIf Variable 'persister' can be moved inside the block at line '194' to restrict runtime creation. 184
 Warning extension ReturnCountExtended Return count for 'isUpdateNecessary' method is 3 (max allowed is 1). 231
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 273
 Warning extension LogicConditionNeedOptimization Condition with && at line 292 position 36 need optimization. All method calls are advised to move to end of logic expression. 292
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 311
 Warning extension ReturnCountExtended Return count for 'getNextVersion' method is 3 (max allowed is 1). 370
 Warning extension MoveVariableInsideIf Variable 'persister' can be moved inside the block at line '436' to restrict runtime creation. 430
 Warning extension MoveVariableInsideIf Variable 'status' can be moved inside the block at line '436' to restrict runtime creation. 431
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 433

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultInitializeCollectionEventListener.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'initializeCollectionFromCache' method is 3 (max allowed is 1). 110

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 212 position 31 need optimization. All method calls are advised to move to end of logic expression. 212
 Warning extension ReturnCountExtended Return count for 'proxyOrLoad' method is 4 (max allowed is 1). 235
 Warning extension ReturnCountExtended Return count for 'doLoad' method is 4 (max allowed is 1). 398
 Warning extension ReturnCountExtended Return count for 'loadFromSessionCache' method is 3 (max allowed is 1). 493
 Warning extension ReturnCountExtended Return count for 'loadFromSecondLevelCache' method is 3 (max allowed is 1). 530
 Warning extension MoveVariableInsideIf Variable 'types' can be moved inside the block at line '660' to restrict runtime creation. 655
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 685
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 771

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 102
 Warning extension MoveVariableInsideIf Variable 'copyCache' can be moved inside the block at line '122' to restrict runtime creation. 118
 Warning extension MoveVariableInsideIf Variable 'source' can be moved inside the block at line '122' to restrict runtime creation. 119
 Warning extension ReturnCountExtended Return count for 'determineEntityCopyObserverClass' method is 3 (max allowed is 1). 503

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'persister' can be moved inside the block at line '182' to restrict runtime creation. 180

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultRefreshEventListener.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'isTransient' can be moved inside the block at line '76' to restrict runtime creation. 75
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 153

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultReplicateEventListener.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 83
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 190

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveNaturalId' method is 2 (max allowed is 1). 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveEventListener.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 70

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "entity was persistent" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "Updating {0}" appears 2 times in the file. 289
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 309
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 321

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/DirtyCollectionSearchVisitor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'processCollection' method is 2 (max allowed is 1). 54
 Warning extension MoveVariableInsideIf Variable 'session' can be moved inside the block at line '62' to restrict runtime creation. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedLoggedObserver.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 187

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyNotAllowedObserver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/FlushVisitor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension MultipleStringLiteralsExtended The String "null entities are not supported by " appears 3 times in the file. 145
 Warning extension MoveVariableInsideIf Variable 'oldMergeEntity' can be moved inside the block at line '258' to restrict runtime creation. 256
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 357

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/OnLockVisitor.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'persister' can be moved inside the block at line '58' to restrict runtime creation. 53
 Warning extension MultipleStringLiteralsExtended The String "reassociated object has dirty collection reference" appears 2 times in the file. 70

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/ReattachVisitor.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'types' can be moved inside the block at line '81' to restrict runtime creation. 80

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/internal/WrapVisitor.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56
 Warning extension ReturnCountExtended Return count for 'processArrayOrNewCollection' method is 4 (max allowed is 1). 80
 Warning extension MoveVariableInsideIf Variable 'session' can be moved inside the block at line '89' to restrict runtime creation. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerRegistryImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 425

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/spi/AbstractCollectionEvent.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 92
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 112
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 123

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/spi/AbstractEvent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/spi/EventType.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 136
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 182
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 183
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 185

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/spi/LoadEvent.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should not be invoked: DEFAULT_LOCK_OPTIONS needs to be treated as immutable." appears 4 times in the file. 43
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 82
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 86
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/event/spi/LoadEventListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/internal/CacheSQLExceptionConversionDelegate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/internal/SQLExceptionTypeDelegate.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'convert' method is 2 (max allowed is 1). 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConversionDelegate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 109
 Warning extension ReturnCountExtended Return count for 'convert' method is 4 (max allowed is 1). 114
 Warning extension MoveVariableInsideIf Variable 'errorCode' can be moved inside the block at line '118' to restrict runtime creation. 116
 Warning extension LogicConditionNeedOptimization Condition with && at line 151 position 34 need optimization. All method calls are advised to move to end of logic expression. 151

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConverter.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SQLStateConverter' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 39

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/internal/StandardSQLExceptionConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverterFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'constructConverter' method is 2 (max allowed is 1). 107
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 121
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 132

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/HolderInstantiator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 103

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/QuerySplitter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from" appears 3 times in the file. 54
 Warning extension ReturnCountExtended Return count for 'concreteQueries' method is 2 (max allowed is 1). 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/DetailedSemanticException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cause:" appears 2 times in the file. 81

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 93
 Warning extension ReturnCountExtended Return count for 'handleIdentifierError' method is 2 (max allowed is 1). 126
 Warning extension ReturnCountExtended Return count for 'negateNode' method is 17 (max allowed is 1). 163
 Warning extension MultipleStringLiteralsExtended The String "{not}" appears 14 times in the file. 181
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 235
 Warning extension ReturnCountExtended Return count for 'processEqualityExpression' method is 3 (max allowed is 1). 257
 Warning extension MoveVariableInsideIf Variable 'negated' can be moved inside the block at line '266' to restrict runtime creation. 265
 Warning extension MultipleStringLiteralsExtended The String "weakKeywords() : new LT(1) token - %s" appears 2 times in the file. 347
 Warning extension LogicConditionNeedOptimization Condition with && at line 353 position 24 need optimization. All method calls are advised to move to end of logic expression. 353

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 193
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 208
 Warning extension MultipleStringLiteralsExtended The String "?" appears 5 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 433
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 441
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 442
 Warning extension ReturnCountExtended Return count for 'lookupProperty' method is 2 (max allowed is 1). 558
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 640
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 819
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 820
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1075
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1119
 Warning extension MoveVariableInsideIf Variable 'fromClause' can be moved inside the block at line '1,173' to restrict runtime creation. 1172
 Warning extension MultipleStringLiteralsExtended The String "node did not reference a map" appears 2 times in the file. 1246
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1252
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 1253

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlToken.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 68

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/ParameterTranslationsImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 99

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 225
 Warning extension LogicConditionNeedOptimization Condition with || at line 343 position 68 need optimization. All method calls are advised to move to end of logic expression. 343
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 371
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 421
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 426
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 445
 Warning extension ReturnCountExtended Return count for 'buildAppropriateStatementExecutor' method is 5 (max allowed is 1). 526
 Warning extension MoveVariableInsideIf Variable 'statement' can be moved inside the block at line '551' to restrict runtime creation. 527

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlASTFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SqlASTFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 92
 Warning extension ReturnCountExtended Return count for 'getASTNodeType' method is 39 (max allowed is 1). 102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 221
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 224
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 233
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 234
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 262

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106
 Warning extension MultipleStringLiteralsExtended The String " " appears 4 times in the file. 106
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 165
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SqlGenerator' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 251
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 328
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 332
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 336
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 385
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 394
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 422

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/AbstractNullnessCheckNode.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'extractMutationTexts' method is 3 (max allowed is 1). 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/AggregateNode.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '58' to restrict runtime creation. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/AssignmentSpecification.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'propertyPath' can be moved inside the block at line '87' to restrict runtime creation. 76
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 122
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 134

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryArithmeticOperatorNode.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 53 position 70 need optimization. All method calls are advised to move to end of logic expression. 53
 Warning extension LogicConditionNeedOptimization Condition with && at line 69 position 67 need optimization. All method calls are advised to move to end of logic expression. 69
 Warning extension ReturnCountExtended Return count for 'resolveDataType' method is 5 (max allowed is 1). 102
 Warning extension ReturnCountExtended Return count for 'resolveDateTimeArithmeticResultType' method is 4 (max allowed is 1). 162
 Warning extension MoveVariableInsideIf Variable 'rhsIsDateTime' can be moved inside the block at line '187' to restrict runtime creation. 179

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryLogicOperatorNode.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'sessionFactory' can be moved inside the block at line '87' to restrict runtime creation. 86
 Warning extension MultipleStringLiteralsExtended The String "AND" appears 2 times in the file. 129
 Warning extension ReturnCountExtended Return count for 'extractMutationTexts' method is 2 (max allowed is 1). 194

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BooleanLiteralNode.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/ComponentJoin.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/ConstructorNode.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 128
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 162
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate class [" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "constructor may not be aliased" appears 2 times in the file. 235

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 261 position 50 need optimization. All method calls are advised to move to end of logic expression. 261
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate appropriate lhs" appears 2 times in the file. 297
 Warning extension MoveVariableInsideIf Variable 'tableAlias' can be moved inside the block at line '470' to restrict runtime creation. 427
 Warning extension MoveVariableInsideIf Variable 'joinColumns' can be moved inside the block at line '470' to restrict runtime creation. 429
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 617
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 648

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromClause.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 227
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 235
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 243
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 251
 Warning extension MultipleStringLiteralsExtended The String "FromClause{" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "level=" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 321

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 272
 Warning extension ReturnCountExtended Return count for 'getIdentityColumns' method is 2 (max allowed is 1). 337
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 396
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 404
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 441
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 442
 Warning extension LogicConditionNeedOptimization Condition with || at line 532 position 22 need optimization. All method calls are advised to move to end of logic expression. 532
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 584
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 588
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 659

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'addFromElement' method is 2 (max allowed is 1). 99
 Warning extension MoveVariableInsideIf Variable 'entityPersister' can be moved inside the block at line '147' to restrict runtime creation. 132
 Warning extension LogicConditionNeedOptimization Condition with && at line 201 position 64 need optimization. All method calls are advised to move to end of logic expression. 201
 Warning extension LogicConditionNeedOptimization Condition with || at line 273 position 65 need optimization. All method calls are advised to move to end of logic expression. 273
 Warning extension MoveVariableInsideIf Variable 'sfh' can be moved inside the block at line '424' to restrict runtime creation. 418
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 419

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 75
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 99
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 147
 Warning extension ReturnCountExtended Return count for 'renderIdentifierSelect' method is 2 (max allowed is 1). 161
 Warning extension ReturnCountExtended Return count for 'toColumns' method is 9 (max allowed is 1). 327
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 348
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 424
 Warning extension ReturnCountExtended Return count for 'getPropertyMapping' method is 5 (max allowed is 1). 430

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromReferenceNode.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MoveVariableInsideIf Variable 'nextLevel' can be moved inside the block at line '93' to restrict runtime creation. 92

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IdentNode.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 68 position 21 need optimization. All method calls are advised to move to end of logic expression. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 145
 Warning extension ReturnCountExtended Return count for 'resolveAsAlias' method is 3 (max allowed is 1). 152
 Warning extension MoveVariableInsideIf Variable 'dialect' can be moved inside the block at line '177' to restrict runtime creation. 172
 Warning extension MoveVariableInsideIf Variable 'isInDistinctCount' can be moved inside the block at line '177' to restrict runtime creation. 174
 Warning extension MoveVariableInsideIf Variable 'isInNonDistinctCount' can be moved inside the block at line '177' to restrict runtime creation. 175
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 183
 Warning extension LogicConditionNeedOptimization Condition with || at line 188 position 6 need optimization. All method calls are advised to move to end of logic expression. 188
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 192
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 215
 Warning extension ReturnCountExtended Return count for 'resolveAsNakedPropertyRef' method is 4 (max allowed is 1). 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 235
 Warning extension ReturnCountExtended Return count for 'resolveAsNakedComponentPropertyRefLHS' method is 2 (max allowed is 1). 255
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 270
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 276
 Warning extension ReturnCountExtended Return count for 'resolveAsNakedComponentPropertyRefRHS' method is 2 (max allowed is 1). 288
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 301
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 375

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/InLogicOperatorNode.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 101
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 130
 Warning extension MultipleStringLiteralsExtended The String "or" appears 4 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "and" appears 4 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 145

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IndexNode.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'paramSpec'. 212

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IntoClause.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 69
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 91
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 145
 Warning extension ReturnCountExtended Return count for 'areCompatible' method is 4 (max allowed is 1). 239

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/JavaConstantNode.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 71
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/LiteralNode.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getDataType' method is 7 (max allowed is 1). 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/MapEntryNode.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 231
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 238
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 245

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/MethodNode.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 93

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/Node.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Node' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/ParameterNode.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 38
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/QueryNode.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 123

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/ResultVariableRefNode.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 84

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SelectClause.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105
 Warning extension MultipleStringLiteralsExtended The String "SelectClause was already prepared!" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 193
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 239
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 324
 Warning extension MultipleStringLiteralsExtended The String "__" appears 2 times in the file. 332
 Warning extension MoveVariableInsideIf Variable 'text' can be moved inside the block at line '424' to restrict runtime creation. 423
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 425

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SelectExpressionImpl.java

Severity Category Rule Message Line
 Warning extension RedundantReturn Redundant return. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SqlFragment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SqlNode.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 46 position 35 need optimization. All method calls are advised to move to end of logic expression. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTIterator.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 37
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTParentsFirstIterator.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 37
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTPrinter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 196

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTUtil.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 393

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ColumnHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " as " appears 2 times in the file. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/JoinProcessor.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'frag' can be moved inside the block at line '175' to restrict runtime creation. 162
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 175
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 232

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/LiteralProcessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 114
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 180
 Warning extension ReturnCountExtended Return count for 'determineIntegerRepresentation' method is 3 (max allowed is 1). 223
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 248
 Warning extension MultipleStringLiteralsExtended The String "Could not parse literal [" appears 2 times in the file. 249
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 275
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 310

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/NodeTraverser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/PathHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/SessionFactoryHelper.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 79
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 200
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 202
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 203
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 224
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 226
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 227

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/SyntheticAndFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 88
 Warning extension MoveVariableInsideIf Variable 'where' can be moved inside the block at line '150' to restrict runtime creation. 146

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/ClauseParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "by" appears 2 times in the file. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/FromParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "unexpected token: " appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "outer or full join must be followed by path expression" appears 3 times in the file. 116
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 124
 Warning extension MultipleStringLiteralsExtended The String "path expression did not resolve to collection: " appears 2 times in the file. 202
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 251

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/FromPathExpressionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/ParserHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/PathExpressionParser.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 276
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 406
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 417
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 421
 Warning extension ReturnCountExtended Return count for 'addFromCollection' method is 2 (max allowed is 1). 453

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/QueryTranslatorImpl.java

Severity Category Rule Message Line
 Warning extension EitherLogOrThrow Either log or throw exception. 253
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 294
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 298
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 303
 Warning extension MultipleStringLiteralsExtended The String "persistent class not found: " appears 3 times in the file. 398
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 435
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 436
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 445
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 447
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 448
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 554
 Warning extension MoveVariableInsideIf Variable 'scalarSelect' can be moved inside the block at line '622' to restrict runtime creation. 600
 Warning extension MultipleStringLiteralsExtended The String "__" appears 2 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String " as " appears 4 times in the file. 729
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 730
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 858
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 863
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 956
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1011
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1043
 Warning extension ReturnCountExtended Return count for 'applyLocks' method is 2 (max allowed is 1). 1099

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/SelectParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "distinct" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/internal/classic/WhereParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "and" appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "or" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String ")" appears 5 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "(" appears 5 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "<" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "=" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String ">" appears 5 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "#" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "~" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "like" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "ilike" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "regexp" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "rlike" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "is" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "in" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "exists" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "between" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "<=" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String ">=" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "=>" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "=<" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "!=" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "!#" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "!~" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "!<" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "!>" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "is not" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "not like" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "not ilike" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "not regexp" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "not rlike" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "not in" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "not between" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "not exists" appears 3 times in the file. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 191
 Warning extension LogicConditionNeedOptimization Condition with && at line 216 position 27 need optimization. All method calls are advised to move to end of logic expression. 216
 Warning extension MultipleStringLiteralsExtended The String "path expression ended in composite collection element" appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 345
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 438
 Warning extension ReturnCountExtended Return count for 'continuePathExpression' method is 2 (max allowed is 1). 491

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/spi/PersistentTableBulkIdStrategy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension MultipleStringLiteralsExtended The String "Unable to use JDBC Connection to create Statement" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "Unable obtain JDBC Connection" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String " where hib_sess_id=?" appears 3 times in the file. 240
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 283

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/spi/TableBasedUpdateHandlerImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93

hibernate-orm/hibernate-core/src/main/java/org/hibernate/hql/spi/TemporaryTableBulkIdStrategy.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 157
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 204
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 209
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 215
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 253
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 258

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/AbstractUUIDGenerator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'generate' method is 2 (max allowed is 1). 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension ReturnCountExtended Return count for 'get' method is 5 (max allowed is 1). 110
 Warning extension MultipleStringLiteralsExtended The String "unrecognized id type : " appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String " -> " appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Unknown IntegralDataTypeHolder impl [" appears 3 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 234
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 282
 Warning extension MultipleStringLiteralsExtended The String "integral holder was not initialized" appears 3 times in the file. 312
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 717

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select max(" appears 2 times in the file. 107

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 110
 Warning extension ReturnCountExtended Return count for 'generate' method is 2 (max allowed is 1). 146
 Warning extension EitherLogOrThrow Either log or throw exception. 196
 Warning extension MultipleStringLiteralsExtended The String " = '" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 299

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/TableGenerator.java

Severity Category Rule Message Line
 Warning extension EitherLogOrThrow Either log or throw exception. 175
 Warning extension EitherLogOrThrow Either log or throw exception. 189
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 242

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 87

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "legacy-hilo" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "pooled" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "pooled-lo" appears 2 times in the file. 53
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 77
 Warning extension ReturnCountExtended Return count for 'fromExternalName' method is 2 (max allowed is 1). 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 131
 Warning extension ReturnCountExtended Return count for 'buildOptimizer' method is 3 (max allowed is 1). 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 157
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 167
 Warning extension MultipleStringLiteralsExtended The String "increment size cannot be less than 1" appears 4 times in the file. 316
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 371
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 424
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 549
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 556
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 563
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 570
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 577

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 112

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 116
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 117
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 125
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 127
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 130
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 131
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 136
 Warning extension LogicConditionNeedOptimization Condition with && at line 187 position 35 need optimization. All method calls are advised to move to end of logic expression. 187
 Warning extension MoveVariableInsideIf Variable 'normalizer' can be moved inside the block at line '230' to restrict runtime creation. 228
 Warning extension LogicConditionNeedOptimization Condition with && at line 354 position 52 need optimization. All method calls are advised to move to end of logic expression. 354

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 152
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 161
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 284
 Warning extension MultipleStringLiteralsExtended The String " where " appears 2 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 2 times in the file. 444

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java

Severity Category Rule Message Line
 Warning extension EitherLogOrThrow Either log or throw exception. 148
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String " )" appears 2 times in the file. 223

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/factory/internal/DefaultIdentifierGeneratorFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 75
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 76
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 77
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 78
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 79
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 80
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 81
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 82
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 83
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 84
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 85
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 86
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 87
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 88
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 89
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 140

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/uuid/CustomVersionOneStrategy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension MultipleStringLiteralsExtended The String " loBits[0] : " appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " lsb : " appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" appears 2 times in the file. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

hibernate-orm/hibernate-core/src/main/java/org/hibernate/id/uuid/Helper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 49
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 57
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 82
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 86
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97
 Warning extension MultipleStringLiteralsExtended The String "00000000" appears 2 times in the file. 121

hibernate-orm/hibernate-core/src/main/java/org/hibernate/integrator/internal/IntegratorServiceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/AbstractQueryImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214
 Warning extension LogicConditionNeedOptimization Condition with || at line 350 position 42 need optimization. All method calls are advised to move to end of logic expression. 350
 Warning extension MultipleStringLiteralsExtended The String "Expected positional parameter count: " appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String ", actual parameters: " appears 2 times in the file. 366
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 408
 Warning extension MultipleStringLiteralsExtended The String "Parameter " appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String " does not exist as a named parameter in [" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 409
 Warning extension ReturnCountExtended Return count for 'guessType' method is 3 (max allowed is 1). 486
 Warning extension AvoidHidingCauseException Cause exception 'me' was lost. 499
 Warning extension ReturnCountExtended Return count for 'expandParameterList' method is 4 (max allowed is 1). 756
 Warning extension LogicConditionNeedOptimization Condition with && at line 794 position 25 need optimization. All method calls are advised to move to end of logic expression. 794
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 924

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/AbstractScrollableResults.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 124
 Warning extension MultipleStringLiteralsExtended The String "query specifies a holder class" appears 2 times in the file. 150

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 69
 Warning extension MultipleStringLiteralsExtended The String "named native SQL query " appears 2 times in the file. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 256
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 277
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 325
 Warning extension MultipleStringLiteralsExtended The String "Tenant identifier required!" appears 2 times in the file. 339

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/CacheImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "Evicting second-level cache: %s" appears 4 times in the file. 113
 Warning extension ReturnCountExtended Return count for 'getQueryCache' method is 3 (max allowed is 1). 298

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/ConnectionObserverStatsBridge.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/CriteriaImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 54
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 104
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 320
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 438

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/FetchingScrollableResultsImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 57
 Warning extension ReturnCountExtended Return count for 'next' method is 2 (max allowed is 1). 69
 Warning extension MultipleStringLiteralsExtended The String "exception calling isAfterLast()" appears 2 times in the file. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 133
 Warning extension ReturnCountExtended Return count for 'last' method is 2 (max allowed is 1). 186
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 296

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 82
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 94
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 110

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/FilterImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 66
 Warning extension MultipleStringLiteralsExtended The String "Undefined filter parameter [" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Incorrect type for parameter [" appears 2 times in the file. 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/IteratorImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 94
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 104

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 445
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 493

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210
 Warning extension MultipleStringLiteralsExtended The String "Building session factory" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "Session factory constructed with filter configurations : %s" appears 2 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "Instantiating session factory with properties: %s" appears 2 times in the file. 281
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 289
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 340
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 401
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 403
 Warning extension MoveVariableInsideIf Variable 'cacheRegionName' can be moved inside the block at line '410' to restrict runtime creation. 407
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 464
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 471
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 481
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 482
 Warning extension MultipleStringLiteralsExtended The String "Could not generate UUID" appears 2 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "Instantiated session factory" appears 2 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "Errors in named queries: " appears 2 times in the file. 525
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "Unable to resolve entity reference [" appears 2 times in the file. 551
 Warning extension MultipleStringLiteralsExtended The String "] in fetch profile [" appears 2 times in the file. 552
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 552
 Warning extension MultipleStringLiteralsExtended The String "Fetch profile [" appears 2 times in the file. 559
 Warning extension MultipleStringLiteralsExtended The String "] specified an invalid association" appears 2 times in the file. 559
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 578
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 604
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 637
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 652
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 711
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 759
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 760
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 794
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 796
 Warning extension MoveVariableInsideIf Variable 'cacheRegionName' can be moved inside the block at line '809' to restrict runtime creation. 806
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 873
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 880
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 890
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 891
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 970
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 977
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 981
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 989
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 996
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1001
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1006
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1010
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1014
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1019
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1023
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1027
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1031
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1035
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1042
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 1053
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1055
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1059
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1063
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1067
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1069
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1143
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1151
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1156
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1161
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1169
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1173
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1178
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1182
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1189
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1193
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1197
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1201
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1205
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1217
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1221
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1225
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1229
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1232
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1236
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1239
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1242
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1245
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1248
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1252
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1256
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1271
 Warning extension ReturnCountExtended Return count for 'getImplementors' method is 3 (max allowed is 1). 1271
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1281
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1319
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1335
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1335
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1339
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1339
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1343
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1348
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1367
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1415
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1415
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1419
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1423
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1427
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1431
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1435
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1439
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1443
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1447
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1451
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1455
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1459
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1463
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1467
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1471
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1476
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1476
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1480
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1484
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1488
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1496
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1500
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1504
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1508
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1512
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1516
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1521
 Warning extension ReturnCountExtended Return count for 'buildCurrentSessionContext' method is 4 (max allowed is 1). 1521
 Warning extension MultipleStringLiteralsExtended The String "jta" appears 2 times in the file. 1526
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1552
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1559
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1564
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1569
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1573
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1577
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1738
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1743
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1758
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1772
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1787
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1792
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1818
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1834

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryRegistry.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 153

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "with sharing JDBC connection between sessions; ignoring" appears 2 times in the file. 269
 Warning extension LogicConditionNeedOptimization Condition with && at line 289 position 19 need optimization. All method calls are advised to move to end of logic expression. 289
 Warning extension LogicConditionNeedOptimization Condition with && at line 298 position 19 need optimization. All method calls are advised to move to end of logic expression. 298
 Warning extension ReturnCountExtended Return count for 'close' method is 2 (max allowed is 1). 341
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 353
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 494
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 510
 Warning extension ReturnCountExtended Return count for 'getCurrentLockMode' method is 2 (max allowed is 1). 579
 Warning extension ReturnCountExtended Return count for 'getEntityPersister' method is 2 (max allowed is 1). 1391
 Warning extension AvoidHidingCauseException Cause exception 'e2' was lost. 1410
 Warning extension ReturnCountExtended Return count for 'list' method is 2 (max allowed is 1). 1585
 Warning extension ReturnCountExtended Return count for 'tryNaturalIdLoadAccess' method is 4 (max allowed is 1). 1647
 Warning extension ReturnCountExtended Return count for 'contains' method is 2 (max allowed is 1). 1706
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1880
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2172
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 2532
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2578

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 410

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/TypeLocatorImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension ReturnCountExtended Return count for 'resolvePrimitiveOrPrimitiveWrapperVariantJavaType' method is 16 (max allowed is 1). 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/jaxb/Origin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/Cloneable.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 99
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 103
 Warning extension MultipleStringLiteralsExtended The String "Unable to validate listener config" appears 2 times in the file. 124
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 138
 Warning extension MultipleStringLiteralsExtended The String "] was null" appears 2 times in the file. 141
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 157
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 158

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/ConfigHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findAsResource' method is 3 (max allowed is 1). 76
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 155
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String " not found" appears 2 times in the file. 173

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/EntityPrinter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 125

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/MarkerObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 69
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 168
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 190
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 280
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 286
 Warning extension AvoidHidingCauseException Cause exception 'nme' was lost. 309
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 375

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/SerializationHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "could not deserialize" appears 3 times in the file. 247
 Warning extension ReturnCountExtended Return count for 'resolveClass' method is 3 (max allowed is 1). 338
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate class using given classloader" appears 3 times in the file. 346

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 41
 Warning extension LogicConditionNeedOptimization Condition with && at line 57 position 39 need optimization. All method calls are advised to move to end of logic expression. 57
 Warning extension MultipleStringLiteralsExtended The String "." appears 5 times in the file. 250
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 370
 Warning extension MultipleStringLiteralsExtended The String "Unquoted count of quotes is invalid" appears 2 times in the file. 390
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 498
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 509
 Warning extension MultipleStringLiteralsExtended The String " and " appears 3 times in the file. 611
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 641
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 701
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 711
 Warning extension ReturnCountExtended Return count for 'buildBatchFetchRestrictionFragment' method is 2 (max allowed is 1). 713
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 721
 Warning extension MultipleStringLiteralsExtended The String "(" appears 3 times in the file. 728
 Warning extension MultipleStringLiteralsExtended The String "," appears 4 times in the file. 735
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 760

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/ValueHolder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/beans/BeanInfoHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 54
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 74
 Warning extension MultipleStringLiteralsExtended The String "Error delegating bean info use" appears 2 times in the file. 74
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 199
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 201
 Warning extension MultipleStringLiteralsExtended The String "[" appears 3 times in the file. 205
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 255
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 256
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 257
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 258
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 259
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 260
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 261
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 291
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 292
 Warning extension MultipleStringLiteralsExtended The String "] -> " appears 2 times in the file. 406

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 120
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 458
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 472
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 596
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 603
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 633
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 784
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 917
 Warning extension MoveVariableInsideIf Variable 'end' can be moved inside the block at line '923' to restrict runtime creation. 919
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 987
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1016
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 1278
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 1283
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1451
 Warning extension MoveVariableInsideIf Variable 'c' can be moved inside the block at line '1,523' to restrict runtime creation. 1513
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1637
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1699
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1721
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1738
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1745
 Warning extension ReturnCountExtended Return count for 'isEmpty' method is 3 (max allowed is 1). 1755
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1757
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1769
 Warning extension ReturnCountExtended Return count for 'size' method is 2 (max allowed is 1). 1796
 Warning extension ReturnCountExtended Return count for 'containsValue' method is 3 (max allowed is 1). 1890

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/ConcurrentReferenceHashMap.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 278
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 279
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 280
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 772
 Warning extension MoveVariableInsideIf Variable 'c' can be moved inside the block at line '858' to restrict runtime creation. 846
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 940
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1002
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1025
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1042
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1061
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1070
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1082
 Warning extension OverridableMethodInConstructor Overridable method 'putAll' is called in constructor body. 1090
 Warning extension ReturnCountExtended Return count for 'isEmpty' method is 3 (max allowed is 1). 1098
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1100
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1112
 Warning extension ReturnCountExtended Return count for 'size' method is 2 (max allowed is 1). 1140
 Warning extension ReturnCountExtended Return count for 'containsValue' method is 3 (max allowed is 1). 1237

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/EmptyIterator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/IdentityMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 265

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/JoinedIterator.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 101 position 37 need optimization. All method calls are advised to move to end of logic expression. 101

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/LazyIterator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/collections/SingletonIterator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/compare/ComparableComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/compare/EqualsHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", value=" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "', '" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Could not determine how to handle configuration value [name=" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 168
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 212
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 398

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/io/StreamCopier.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/jndi/JndiHelper.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'propertyValue' can be moved inside the block at line '65' to restrict runtime creation. 64
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/DTDEntityResolver.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 57
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate [%s] on classpath" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Located [%s] in classpath" appears 2 times in the file. 86
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 123

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/ErrorLogger.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/MappingReader.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension ReturnCountExtended Return count for 'readMappingDocument' method is 2 (max allowed is 1). 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 102

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/OriginImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/XMLHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 106

hibernate-orm/hibernate-core/src/main/java/org/hibernate/internal/util/xml/XmlDocumentImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/jdbc/Expectations.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension MultipleStringLiteralsExtended The String "Batch update returned unexpected row count from update [" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "]; actual row count: " appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "; expected: " appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Unexpected row count: " appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "could not extract row counts from CallableStatement" appears 2 times in the file. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 173
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 175
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 193

hibernate-orm/hibernate-core/src/main/java/org/hibernate/jmx/HibernateService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/jmx/SessionFactoryStub.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 87
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 88

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/AbstractEntityJoinWalker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isJoinFetchEnabledByProfile' method is 2 (max allowed is 1). 160

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/BasicLoader.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 52
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/BatchFetchStyle.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'interpret' method is 3 (max allowed is 1). 66
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/DefaultEntityAliases.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 102
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 159
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 166
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 173
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 180

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/GeneratedCollectionAliases.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 80
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 89
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 98
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 107

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/JoinWalker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 84
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 103
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 167
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 740
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 861
 Warning extension ReturnCountExtended Return count for 'whereString' method is 2 (max allowed is 1). 965
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 970
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1039

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/Loader.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 149
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 161
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 171
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 179
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 188
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 192
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 238
 Warning extension MoveVariableInsideIf Variable 'loaded' can be moved inside the block at line '448' to restrict runtime creation. 430
 Warning extension MultipleStringLiteralsExtended The String "could not doAfterTransactionCompletion sequential read of results (forward)" appears 2 times in the file. 458
 Warning extension ReturnCountExtended Return count for 'loadSequentialRowsForward' method is 2 (max allowed is 1). 497
 Warning extension ReturnCountExtended Return count for 'loadSequentialRowsReverse' method is 2 (max allowed is 1). 554
 Warning extension LogicConditionNeedOptimization Condition with && at line 583 position 32 need optimization. All method calls are advised to move to end of logic expression. 583
 Warning extension MoveVariableInsideIf Variable 'optionalId' can be moved inside the block at line '671' to restrict runtime creation. 668
 Warning extension MoveVariableInsideIf Variable 'entitySpan' can be moved inside the block at line '732' to restrict runtime creation. 713
 Warning extension LogicConditionNeedOptimization Condition with && at line 768 position 27 need optimization. All method calls are advised to move to end of logic expression. 768
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 904
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1057
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1188
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1202
 Warning extension MoveVariableInsideIf Variable 'persistenceContext' can be moved inside the block at line '1,256' to restrict runtime creation. 1233
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1235
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1247
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1260
 Warning extension MultipleStringLiteralsExtended The String "Result set contains (possibly empty) collection: %s" appears 2 times in the file. 1331
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,401 position 27 need optimization. All method calls are advised to move to end of logic expression. 1401
 Warning extension MoveVariableInsideIf Variable 'key' can be moved inside the block at line '1,492' to restrict runtime creation. 1487
 Warning extension ReturnCountExtended Return count for 'instanceNotYetLoaded' method is 2 (max allowed is 1). 1574
 Warning extension ReturnCountExtended Return count for 'getInstanceClass' method is 2 (max allowed is 1). 1747
 Warning extension MultipleStringLiteralsExtended The String "Done entity load" appears 2 times in the file. 2157
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2260
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2264
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 2380
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 2409
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,457 position 42 need optimization. All method calls are advised to move to end of logic expression. 2457
 Warning extension ReturnCountExtended Return count for 'scroll' method is 2 (max allowed is 1). 2605

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/OuterJoinLoader.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/OuterJoinableAssociation.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 76
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 124
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 168

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/collection/OneToManyJoinWalker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaJoinWalker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 85
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaLoader.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 128
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 159
 Warning extension ReturnCountExtended Return count for 'applyLocks' method is 2 (max allowed is 1). 196
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 265

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaQueryTranslator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 134
 Warning extension MultipleStringLiteralsExtended The String "duplicate association path: " appears 2 times in the file. 172
 Warning extension ReturnCountExtended Return count for 'getWholeAssociationPath' method is 2 (max allowed is 1). 187
 Warning extension MoveVariableInsideIf Variable 'atype' can be moved inside the block at line '264' to restrict runtime creation. 254
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 273
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 364
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 364
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 441
 Warning extension ReturnCountExtended Return count for 'getColumnsUsingProjection' method is 3 (max allowed is 1). 466
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 474
 Warning extension ReturnCountExtended Return count for 'getTypeUsingProjection' method is 3 (max allowed is 1). 551
 Warning extension ReturnCountExtended Return count for 'getTypedValue' method is 2 (max allowed is 1). 594
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 604
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 687

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/criteria/ScalarCollectionCriteriaInfoProvider.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/custom/ColumnCollectionAliases.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 78
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 87
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 96
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/custom/CustomLoader.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 151
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 163
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 444
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'hasTransformer'. 517
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 528
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 615
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 616
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 628
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 699

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLCustomQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 91
 Warning extension MultipleStringLiteralsExtended The String "." appears 4 times in the file. 118
 Warning extension ReturnCountExtended Return count for 'resolveCollectionProperties' method is 3 (max allowed is 1). 186
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "Using return-propertys together with * syntax is not supported." appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "No column name found for property [" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "] for alias [" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "SQL queries only support properties mapped to a single column - property [" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "] is mapped to " appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String " columns." appears 2 times in the file. 227
 Warning extension ReturnCountExtended Return count for 'resolveProperties' method is 2 (max allowed is 1). 236

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryReturnProcessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 141
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 147
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 151
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 156
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 178
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 335
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 343
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 347
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 351
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 366
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 371
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 385
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 393
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 407
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 424
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 436

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/AbstractEntityLoader.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'load' method is 3 (max allowed is 1). 75

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/CollectionElementLoader.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadElement' method is 3 (max allowed is 1). 93

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 256

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/EntityJoinWalker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 172
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/LegacyBatchingEntityLoaderBuilder.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'load' method is 2 (max allowed is 1). 97

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/entity/PaddedBatchingEntityLoaderBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unexpected batch size spread" appears 2 times in the file. 86
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 93
 Warning extension ReturnCountExtended Return count for 'load' method is 2 (max allowed is 1). 109

hibernate-orm/hibernate-core/src/main/java/org/hibernate/loader/hql/QueryLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension ReturnCountExtended Return count for 'getLockModes' method is 2 (max allowed is 1). 288
 Warning extension ReturnCountExtended Return count for 'applyLocks' method is 3 (max allowed is 1). 316
 Warning extension LogicConditionNeedOptimization Condition with || at line 430 position 40 need optimization. All method calls are advised to move to end of logic expression. 430
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 431
 Warning extension LogicConditionNeedOptimization Condition with && at line 467 position 24 need optimization. All method calls are advised to move to end of logic expression. 467

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Any.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 46
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 50
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 65
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Collection.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 146
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 147
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 256
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 260
 Warning extension MultipleStringLiteralsExtended The String " type: " appears 2 times in the file. 310
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 465
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 483
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 501
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 519

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Column.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension OverridableMethodInConstructor Overridable method 'setName' is called in constructor body. 67
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 101
 Warning extension LogicConditionNeedOptimization Condition with && at line 125 position 4 need optimization. All method calls are advised to move to end of logic expression. 125
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 270

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Component.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 234
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 238
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 263
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 291
 Warning extension MoveVariableInsideIf Variable 'entityClass' can be moved inside the block at line '338' to restrict runtime creation. 324
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 386

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "alter table " appears 2 times in the file. 188

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/FetchProfile.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " [" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 104

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Formula.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/IdGenerator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/IdentifierCollection.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Index.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension MultipleStringLiteralsExtended The String "drop index " appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/IndexedCollection.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 81

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Join.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 134
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 152
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 170

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/List.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/MappedSuperclass.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 134
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 153
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 157
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 176
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 180

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/MetaAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/OneToMany.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 106
 Warning extension MultipleStringLiteralsExtended The String "] not found on entity [" appears 4 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "property [" appears 3 times in the file. 396
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 441
 Warning extension MoveVariableInsideIf Variable 'iter' can be moved inside the block at line '468' to restrict runtime creation. 461
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 613
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 631
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 649
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 681
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 685
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 780

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/PrimaryKey.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 40

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Property.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension ReturnCountExtended Return count for 'isLazy' method is 2 (max allowed is 1). 250

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/PropertyGeneration.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension MultipleStringLiteralsExtended The String "insert" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "always" appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/RootClass.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Set.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 112

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Subclass.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 204
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 281

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/Table.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension OverridableMethodInConstructor Overridable method 'setName' is called in constructor body. 106
 Warning extension MultipleStringLiteralsExtended The String "`" appears 6 times in the file. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 252
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 293
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 346
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 354
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 354
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 354
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 355
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 355
 Warning extension MultipleStringLiteralsExtended The String " default " appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String " not null" appears 3 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "UK_" appears 3 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 471
 Warning extension LogicConditionNeedOptimization Condition with && at line 489 position 23 need optimization. All method calls are advised to move to end of logic expression. 489
 Warning extension MultipleStringLiteralsExtended The String " already exists!" appears 2 times in the file. 608
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 723
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 727
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 766
 Warning extension LogicConditionNeedOptimization Condition with && at line 788 position 33 need optimization. All method calls are advised to move to end of logic expression. 788
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 799
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 803
 Warning extension MultipleStringLiteralsExtended The String " is '" appears 2 times in the file. 831
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 833

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/ToOne.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/mapping/TypeDef.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/MetadataSources.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String ".hbm.xml" appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "<unknown>" appears 2 times in the file. 276
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 338
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 348

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/AbstractAttributeBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 110
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 119

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/AbstractPluralAttributeBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension ReturnCountExtended Return count for 'interpretNature' method is 4 (max allowed is 1). 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 188

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/AbstractSingularAttributeBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/CascadeType.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/ComponentAttributeBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/CustomSQL.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/EntityBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 404
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 424
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 428
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 570
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 588

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/EntityDiscriminator.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/EntityIdentifier.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 55
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/HibernateTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 60
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/IdGenerator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/ManyToManyCollectionElement.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/ManyToOneAttributeBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/MetaAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/SimpleValueBinding.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setSimpleValue' is called in constructor body. 44
 Warning extension OverridableMethodInConstructor Overridable method 'setSimpleValue' is called in constructor body. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/binding/TypeDef.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/domain/AbstractAttributeContainer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/AbstractConstraint.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 95
 Warning extension MultipleStringLiteralsExtended The String "alter table " appears 2 times in the file. 100
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 111

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/AbstractTableSpecification.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Database.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Identifier.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 61
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 70
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Index.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 83
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 85
 Warning extension MultipleStringLiteralsExtended The String "drop index " appears 2 times in the file. 96

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/ObjectName.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse object name: " appears 2 times in the file. 207

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/PrimaryKey.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 72

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Schema.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Size.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Table.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 170

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/relational/Tuple.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/MappingNotFoundException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mapping (%s) not found : %s" appears 2 times in the file. 38

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/MetaAttributeContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/AnnotationBindingContextImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 134
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/AnnotationMetadataSourceProcessorImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/EntityHierarchyBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 244
 Warning extension ReturnCountExtended Return count for 'isEntityClass' method is 2 (max allowed is 1). 257
 Warning extension MultipleStringLiteralsExtended The String " has both annotations." appears 2 times in the file. 306
 Warning extension ReturnCountExtended Return count for 'determineDefaultAccessType' method is 3 (max allowed is 1). 326

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/EnumConversionHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enhanced-sequence" appears 2 times in the file. 53
 Warning extension ReturnCountExtended Return count for 'cascadeTypeToCascadeStyle' method is 5 (max allowed is 1). 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/JandexHelper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension ReturnCountExtended Return count for 'getValue' method is 2 (max allowed is 1). 91
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 110
 Warning extension ReturnCountExtended Return count for 'getPropertyName' method is 2 (max allowed is 1). 152
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 275
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 321

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/ReflectionHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "is" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/AssociationAttribute.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 89
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 286

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/BasicAttribute.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 137
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 141
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 145
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension MultipleStringLiteralsExtended The String "forColumn" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "read" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "write" appears 2 times in the file. 259

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/ColumnSourceImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'resolveColumnName' is called in constructor body. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/ColumnValuesSourceImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 40

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/FormulaValue.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 19

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/MappedAttribute.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 135
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 139

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/SingularAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/type/AttributeTypeResolverImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/type/CompositeAttributeTypeResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "The Given AttributeTypeResolver is null." appears 2 times in the file. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/type/EnumeratedTypeResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/type/LobTypeResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/attribute/type/TemporalTypeResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveHibernateTypeName' method is 2 (max allowed is 1). 57

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/ComponentAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/ConfiguredClass.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension OverridableMethodInConstructor Calling the method 'collectAttributes' in constructor body leads to the call of the overridable method 'getName'. 160
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 168
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 246
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 322
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 330
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 352
 Warning extension MultipleStringLiteralsExtended The String " of class " appears 3 times in the file. 355
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 367
 Warning extension ReturnCountExtended Return count for 'isExplicitAttributeAccessAnnotationPlacedCorrectly' method is 5 (max allowed is 1). 384
 Warning extension MultipleStringLiteralsExtended The String "The access type of class %s is AccessType.FIELD. To override the access for an attribute " appears 2 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "The access type of class %s is AccessType.PROPERTY. To override the access for a field " appears 2 times in the file. 412
 Warning extension ReturnCountExtended Return count for 'determineAttributeNature' method is 2 (max allowed is 1). 532
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 534
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 621
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 657
 Warning extension MoveVariableInsideIf Variable 'associationOverridesAnnotation' can be moved inside the block at line '671' to restrict runtime creation. 667

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EmbeddableHierarchy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EntityClass.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'definesItsOwnTable' in constructor body leads to the call of the overridable method 'isEntityRoot'. 130
 Warning extension OverridableMethodInConstructor Calling the method 'determineEntityListeners' in constructor body leads to the call of the overridable method 'getEntityName'. 149
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 173
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 177
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 222
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 226
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 230
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 258
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 274
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 278
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 294
 Warning extension ReturnCountExtended Return count for 'determineIdType' method is 3 (max allowed is 1). 302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 328
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "polymorphism" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "optimisticLock" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "mutable" appears 2 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "clause" appears 2 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "dynamicInsert" appears 2 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "dynamicUpdate" appears 2 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "selectBeforeUpdate" appears 2 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "impl" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "persister" appears 3 times in the file. 501
 Warning extension ReturnCountExtended Return count for 'determineCachingSettings' method is 3 (max allowed is 1). 517
 Warning extension MultipleStringLiteralsExtended The String "usage" appears 2 times in the file. 522
 Warning extension MultipleStringLiteralsExtended The String "region" appears 2 times in the file. 527
 Warning extension MultipleStringLiteralsExtended The String "include" appears 2 times in the file. 531
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 616
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 626
 Warning extension MultipleStringLiteralsExtended The String "callable" appears 2 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "check" appears 2 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 2 times in the file. 737
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 766
 Warning extension AvoidHidingCauseException Cause exception 'error' was lost. 779
 Warning extension AvoidHidingCauseException Cause exception 'error' was lost. 795
 Warning extension AvoidHidingCauseException Cause exception 'error' was lost. 806
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 826
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 869
 Warning extension MultipleStringLiteralsExtended The String "Callback method " appears 4 times in the file. 926

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EntitySourceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/FetchProfileBinder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/FilterDefBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/IdGeneratorBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "allocationSize" appears 4 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "initialValue" appears 3 times in the file. 157
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "pkColumnName" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "pkColumnValue" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "valueColumnName" appears 2 times in the file. 188

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/QueryBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "hints" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String ":" appears 4 times in the file. 268
 Warning extension ReturnCountExtended Return count for 'getCacheMode' method is 5 (max allowed is 1). 271
 Warning extension ReturnCountExtended Return count for 'getFlushMode' method is 3 (max allowed is 1). 294
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 346

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/TableBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "appliesTo" appears 2 times in the file. 80

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/global/TypeDefBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/filter/ExclusiveAnnotationFilter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/filter/NameAnnotationFilter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/filter/NameTargetAnnotationFilter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/AbstractEntityObjectMocker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 56
 Warning extension MoveVariableInsideIf Variable 'classDotName' can be moved inside the block at line '65' to restrict runtime creation. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/AbstractMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/AccessHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 62
 Warning extension MoveVariableInsideIf Variable 'indexedAnnotations' can be moved inside the block at line '71' to restrict runtime creation. 68
 Warning extension MoveVariableInsideIf Variable 'indexedAnnotations' can be moved inside the block at line '127' to restrict runtime creation. 124
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 187

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/AnnotationMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "name" appears 10 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "joinColumns" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "uniqueConstraints" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension MultipleStringLiteralsExtended The String "joinTable" appears 2 times in the file. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension MultipleStringLiteralsExtended The String "columnDefinition" appears 4 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "unique" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "nullable" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "insertable" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "updatable" appears 3 times in the file. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159
 Warning extension MultipleStringLiteralsExtended The String "column" appears 2 times in the file. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension MultipleStringLiteralsExtended The String "referencedColumnName" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 221
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension ReturnCountExtended Return count for 'parserAttributeOverrides' method is 2 (max allowed is 1). 306
 Warning extension MultipleStringLiteralsExtended The String "target can not be null" appears 2 times in the file. 308
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 313
 Warning extension ReturnCountExtended Return count for 'parserAssociationOverrides' method is 2 (max allowed is 1). 342
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 350
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 390
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 528
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 532
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 537
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 544
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 549
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 551

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/BasicMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/DefaultConfigurationHelper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 92 position 32 need optimization. All method calls are advised to move to end of logic expression. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180
 Warning extension MultipleStringLiteralsExtended The String "cascade" appears 3 times in the file. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183
 Warning extension MultipleStringLiteralsExtended The String "PERSIST" appears 3 times in the file. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 231
 Warning extension ReturnCountExtended Return count for 'overrideSchemaCatalogByDefault' method is 2 (max allowed is 1). 260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 261
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 268

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/ElementCollectionMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/EntityMappingsMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/EntityMocker.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "uniqueConstraints" appears 2 times in the file. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 247
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotationMocker.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "hints" appears 2 times in the file. 227
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 290
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "initialValue" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "allocationSize" appears 2 times in the file. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 306

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotations.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 180
 Warning extension MultipleStringLiteralsExtended The String "] duplicated." appears 2 times in the file. 184
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 188
 Warning extension LogicConditionNeedOptimization Condition with && at line 231 position 53 need optimization. All method calls are advised to move to end of logic expression. 231
 Warning extension LogicConditionNeedOptimization Condition with && at line 234 position 54 need optimization. All method calls are advised to move to end of logic expression. 234
 Warning extension LogicConditionNeedOptimization Condition with && at line 244 position 53 need optimization. All method calls are advised to move to end of logic expression. 244
 Warning extension LogicConditionNeedOptimization Condition with && at line 247 position 54 need optimization. All method calls are advised to move to end of logic expression. 247

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/IdMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/IndexBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension ReturnCountExtended Return count for 'createClassInfo' method is 2 (max allowed is 1). 221
 Warning extension MoveVariableInsideIf Variable 'clazz' can be moved inside the block at line '240' to restrict runtime creation. 230
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 254

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/ListenerMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/ManyToManyMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/ManyToOneMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/MockHelper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension LogicConditionNeedOptimization Condition with && at line 197 position 48 need optimization. All method calls are advised to move to end of logic expression. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 221
 Warning extension ReturnCountExtended Return count for 'getTarget' method is 3 (max allowed is 1). 321
 Warning extension MultipleStringLiteralsExtended The String " of class " appears 3 times in the file. 330
 Warning extension ReturnCountExtended Return count for 'getterMethod' method is 3 (max allowed is 1). 363
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 366
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 404

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/OneToManyMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/OneToOneMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/PersistenceMetadataMocker.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/PropertyMocker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getTargetFromAttributeAccessType' method is 2 (max allowed is 1). 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "columnDefinition" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "nullable" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "insertable" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "updatable" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "unique" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 157
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 229

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/binder/Binder.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'rootEntityBinding' can be moved inside the block at line '109' to restrict runtime creation. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 338
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 821
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 837
 Warning extension ReturnCountExtended Return count for 'extractCollectionComponentType' method is 4 (max allowed is 1). 865
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 878
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1013
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1035

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/AbstractEntitySourceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 206
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 271

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/AbstractPluralAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'interpretElementType' method is 2 (max allowed is 1). 83
 Warning extension ReturnCountExtended Return count for 'getFetchTiming' method is 5 (max allowed is 1). 255
 Warning extension MoveVariableInsideIf Variable 'fetchSelection' can be moved inside the block at line '266' to restrict runtime creation. 256
 Warning extension MoveVariableInsideIf Variable 'outerJoinSelection' can be moved inside the block at line '266' to restrict runtime creation. 262
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 270
 Warning extension ReturnCountExtended Return count for 'getFetchStyle' method is 5 (max allowed is 1). 300
 Warning extension MoveVariableInsideIf Variable 'outerJoinSelection' can be moved inside the block at line '309' to restrict runtime creation. 304
 Warning extension MoveVariableInsideIf Variable 'batchSize' can be moved inside the block at line '309' to restrict runtime creation. 307

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/ComponentAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 237

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/CompositePluralAttributeElementSourceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HbmMetadataSourceProcessorImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/Helper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 72
 Warning extension LogicConditionNeedOptimization Condition with && at line 136 position 31 need optimization. All method calls are advised to move to end of logic expression. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 199
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 209
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 286
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension MultipleStringLiteralsExtended The String "column/formula attribute may not be used together with <column>/<formula> subelement" appears 2 times in the file. 303
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 374

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HibernateMappingProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 112
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 113
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 230

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HierarchyBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/ManyToOneAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getFetchTiming' method is 5 (max allowed is 1). 138
 Warning extension MoveVariableInsideIf Variable 'fetchSelection' can be moved inside the block at line '149' to restrict runtime creation. 139
 Warning extension MoveVariableInsideIf Variable 'outerJoinSelection' can be moved inside the block at line '149' to restrict runtime creation. 145
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 153
 Warning extension ReturnCountExtended Return count for 'getFetchStyle' method is 4 (max allowed is 1). 183
 Warning extension MoveVariableInsideIf Variable 'outerJoinSelection' can be moved inside the block at line '193' to restrict runtime creation. 189

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/MappingDocument.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/RootEntitySourceImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 146
 Warning extension ReturnCountExtended Return count for 'getDiscriminatorRelationalValueSource' method is 2 (max allowed is 1). 205

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/SubclassEntitySourceImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getPrimaryTable' method is 2 (max allowed is 1). 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/TimestampAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 92
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 129

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/VersionAttributeSourceImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 92
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 129

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/HibernateTypeResolver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 234

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/JaxbHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension MultipleStringLiteralsExtended The String "2.0" appears 2 times in the file. 71
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 113
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension MultipleStringLiteralsExtended The String "entity-mappings" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 215
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 218
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 220
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 222
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 231
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 240
 Warning extension MultipleStringLiteralsExtended The String "Unable to load schema [" appears 2 times in the file. 268
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 283

hibernate-orm/hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 483
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 495
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 496
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 497
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 498
 Warning extension MultipleStringLiteralsExtended The String "Entity binding not known: " appears 3 times in the file. 509
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 585
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 585

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 126
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 127
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 152
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 154
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 162
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 173
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 180
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 183
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 196
 Warning extension MultipleStringLiteralsExtended The String "( " appears 2 times in the file. 282
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 308
 Warning extension OverridableMethodInConstructor Overridable method 'generateInsertRowString' is called in constructor body. 464
 Warning extension OverridableMethodInConstructor Overridable method 'generateUpdateRowString' is called in constructor body. 477
 Warning extension OverridableMethodInConstructor Overridable method 'generateDeleteRowString' is called in constructor body. 490
 Warning extension OverridableMethodInConstructor Overridable method 'generateDeleteString' is called in constructor body. 501
 Warning extension OverridableMethodInConstructor Overridable method 'generateSelectSizeString' is called in constructor body. 511
 Warning extension OverridableMethodInConstructor Overridable method 'generateDetectRowByIndexString' is called in constructor body. 512
 Warning extension OverridableMethodInConstructor Overridable method 'generateDetectRowByElementString' is called in constructor body. 513
 Warning extension OverridableMethodInConstructor Overridable method 'generateSelectRowByIndexString' is called in constructor body. 514
 Warning extension OverridableMethodInConstructor Overridable method 'logStaticSQL' is called in constructor body. 516
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 541
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 579
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 652
 Warning extension ReturnCountExtended Return count for 'getSubselectInitializer' method is 2 (max allowed is 1). 695
 Warning extension LogicConditionNeedOptimization Condition with && at line 767 position 24 need optimization. All method calls are advised to move to end of logic expression. 767
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 919
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 923
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 940
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 10 times in the file. 981
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 995
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1102
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1106
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 1193
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1250
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1306
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,318 position 42 need optimization. All method calls are advised to move to end of logic expression. 1318
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,318 position 54 need optimization. All method calls are advised to move to end of logic expression. 1318
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1414
 Warning extension MoveVariableInsideIf Variable 'offset' can be moved inside the block at line '1,438' to restrict runtime creation. 1435
 Warning extension MoveVariableInsideIf Variable 'st' can be moved inside the block at line '1,438' to restrict runtime creation. 1437
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1468
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1514
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1518
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 1535
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 1548
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1565
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1606
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1762
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1770
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 1807
 Warning extension ReturnCountExtended Return count for 'exists' method is 2 (max allowed is 1). 1852
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1922

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/BasicCollectionPersister.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 71
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 110
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 139
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 172
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 310

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPropertyMapping.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'toType' method is 2 (max allowed is 1). 42
 Warning extension MultipleStringLiteralsExtended The String "illegal syntax near collection: " appears 2 times in the file. 67
 Warning extension ReturnCountExtended Return count for 'toColumns' method is 2 (max allowed is 1). 71
 Warning extension MultipleStringLiteralsExtended The String "max(" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "min(" appears 2 times in the file. 93

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/CompositeElementPropertyMapping.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/ElementPropertyMapping.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "cannot dereference scalar collection element: " appears 2 times in the file. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/NamedQueryCollectionInitializer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'NamedQueryCollectionInitializer' does not extend anything. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 83
 Warning extension MultipleStringLiteralsExtended The String "null" appears 4 times in the file. 103
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 303
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 304
 Warning extension MoveVariableInsideIf Variable 'offset' can be moved inside the block at line '395' to restrict runtime creation. 394

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 251
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 252
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 253
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 254
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 255
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 256
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 257
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 258
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 259
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 275
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 311
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 313
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 317
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 321
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 325
 Warning extension MultipleStringLiteralsExtended The String "no update by row id" appears 2 times in the file. 363
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 416
 Warning extension LogicConditionNeedOptimization Condition with && at line 468 position 44 need optimization. All method calls are advised to move to end of logic expression. 468
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 494
 Warning extension MultipleStringLiteralsExtended The String "( " appears 2 times in the file. 553
 Warning extension MultipleStringLiteralsExtended The String ") " appears 2 times in the file. 553
 Warning extension OverridableMethodInConstructor Overridable method 'isInstrumented' is called in constructor body. 560
 Warning extension LogicConditionNeedOptimization Condition with || at line 680 position 57 need optimization. All method calls are advised to move to end of logic expression. 680
 Warning extension LogicConditionNeedOptimization Condition with && at line 691 position 49 need optimization. All method calls are advised to move to end of logic expression. 691
 Warning extension OverridableMethodInConstructor Overridable method 'buildCacheEntryHelper' is called in constructor body. 780
 Warning extension ReturnCountExtended Return count for 'canUseReferenceCacheEntries' method is 3 (max allowed is 1). 800
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 824
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 833
 Warning extension OverridableMethodInConstructor Overridable method 'getTemplateFromColumn' is called in constructor body. 864
 Warning extension OverridableMethodInConstructor Overridable method 'isInstrumented' is called in constructor body. 895
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 919
 Warning extension OverridableMethodInConstructor Overridable method 'getTemplateFromColumn' is called in constructor body. 958
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1002
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1003
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1004
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1005
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1006
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1007
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1008
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1009
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1010
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1011
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1012
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1013
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1014
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1015
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1016
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1017
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1018
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1019
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1020
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1021
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1022
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1023
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 1025
 Warning extension LogicConditionNeedOptimization Condition with || at line 1,042 position 60 need optimization. All method calls are advised to move to end of logic expression. 1042
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,053 position 52 need optimization. All method calls are advised to move to end of logic expression. 1053
 Warning extension OverridableMethodInConstructor Overridable method 'getTemplateFromColumn' is called in constructor body. 1082
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1134
 Warning extension OverridableMethodInConstructor Overridable method 'buildCacheEntryHelper' is called in constructor body. 1144
 Warning extension ReturnCountExtended Return count for 'generateLazySelectString' method is 2 (max allowed is 1). 1165
 Warning extension ReturnCountExtended Return count for 'initializeLazyProperty' method is 2 (max allowed is 1). 1209
 Warning extension MultipleStringLiteralsExtended The String "Done initializing lazy properties" appears 2 times in the file. 1290
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1367
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1371
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1375
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1395
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1399
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1417
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,473 position 62 need optimization. All method calls are advised to move to end of logic expression. 1473
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1523
 Warning extension MultipleStringLiteralsExtended The String "could not retrieve snapshot: " appears 2 times in the file. 1547
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 1567
 Warning extension MultipleStringLiteralsExtended The String "." appears 12 times in the file. 1613
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 9 times in the file. 1636
 Warning extension MultipleStringLiteralsExtended The String " and " appears 3 times in the file. 1637
 Warning extension MultipleStringLiteralsExtended The String "=? and " appears 5 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 1778
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1791
 Warning extension MultipleStringLiteralsExtended The String "could not retrieve version: " appears 2 times in the file. 1844
 Warning extension ReturnCountExtended Return count for 'getSubclassPropertyTableNumber' method is 2 (max allowed is 1). 1982
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1997
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2021
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 2191
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2475
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2476
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2477
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2478
 Warning extension ReturnCountExtended Return count for 'check' method is 3 (max allowed is 1). 2511
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 2521
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 2526
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 2531
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2553
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,591 position 37 need optimization. All method calls are advised to move to end of logic expression. 2591
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,602 position 32 need optimization. All method calls are advised to move to end of logic expression. 2602
 Warning extension MultipleStringLiteralsExtended The String " is null" appears 3 times in the file. 2615
 Warning extension MultipleStringLiteralsExtended The String "insert " appears 2 times in the file. 2681
 Warning extension MultipleStringLiteralsExtended The String "delete " appears 2 times in the file. 2759
 Warning extension MultipleStringLiteralsExtended The String "Version: {0}" appears 3 times in the file. 2974
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3007
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,126 position 29 need optimization. All method calls are advised to move to end of logic expression. 3126
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3152
 Warning extension ReturnCountExtended Return count for 'update' method is 2 (max allowed is 1). 3154
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,211 position 39 need optimization. All method calls are advised to move to end of logic expression. 3211
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,219 position 34 need optimization. All method calls are advised to move to end of logic expression. 3219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3266
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,340 position 39 need optimization. All method calls are advised to move to end of logic expression. 3340
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,344 position 37 need optimization. All method calls are advised to move to end of logic expression. 3344
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 3425
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,425 position 43 need optimization. All method calls are advised to move to end of logic expression. 3425
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 3436
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 3445
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,582 position 35 need optimization. All method calls are advised to move to end of logic expression. 3582
 Warning extension ReturnCountExtended Return count for 'getAppropriateLoader' method is 2 (max allowed is 1). 3961
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 3983
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,993 position 44 need optimization. All method calls are advised to move to end of logic expression. 3993
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 4058
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 4087
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 4144
 Warning extension ReturnCountExtended Return count for 'isTransient' method is 5 (max allowed is 1). 4268
 Warning extension MoveVariableInsideIf Variable 'version' can be moved inside the block at line '4,284' to restrict runtime creation. 4283
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 4310
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 4327
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 4585
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 4759
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 4858
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 4859

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one-to-one is not supported here" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " of: " appears 2 times in the file. 83
 Warning extension MoveVariableInsideIf Variable 'hasNonIdentifierPropertyNamedId' can be moved inside the block at line '238' to restrict runtime creation. 236
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 288

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 181
 Warning extension MultipleStringLiteralsExtended The String "Illegal discriminator type: " appears 2 times in the file. 181
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183
 Warning extension MultipleStringLiteralsExtended The String "Could not format discriminator value to SQL string" appears 3 times in the file. 184
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 196
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 550
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 552
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 578
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 702
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 876
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 900
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 933
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 937
 Warning extension ReturnCountExtended Return count for 'determineTableNumberForColumn' method is 2 (max allowed is 1). 958
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 960
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 968
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 969

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/NamedQueryLoader.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'NamedQueryLoader' does not extend anything. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 238
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 253
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 254
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 257
 Warning extension MultipleStringLiteralsExtended The String "discriminator mapping required for single table polymorphic persistence" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "clazz_" appears 2 times in the file. 314
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 344
 Warning extension MultipleStringLiteralsExtended The String "Illegal discriminator type: " appears 4 times in the file. 344
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 346
 Warning extension MultipleStringLiteralsExtended The String "Could not format discriminator value to SQL string" appears 2 times in the file. 347
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 438
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 440
 Warning extension MultipleStringLiteralsExtended The String "Error parsing discriminator value" appears 2 times in the file. 441
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 502
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 517
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 518
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 519
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 520
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 521
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 600
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 602
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 625
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 700
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 702
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 788
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 830
 Warning extension ReturnCountExtended Return count for 'discriminatorFilterFragment' method is 2 (max allowed is 1). 840
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 885
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 893
 Warning extension ReturnCountExtended Return count for 'generateSequentialSelect' method is 2 (max allowed is 1). 937
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1035
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1039

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'generateSubquery' is called in constructor body. 200
 Warning extension OverridableMethodInConstructor Overridable method 'isMultiTable' is called in constructor body. 202
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 264
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 268
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 292
 Warning extension ReturnCountExtended Return count for 'generateSubquery' method is 2 (max allowed is 1). 410
 Warning extension MultipleStringLiteralsExtended The String "only one table" appears 3 times in the file. 482
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 505
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 509

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/internal/PersisterClassResolverInitiator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/internal/PersisterFactoryImpl.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 171
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 174
 Warning extension MultipleStringLiteralsExtended The String "Could not instantiate persister " appears 2 times in the file. 174
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 184
 Warning extension MultipleStringLiteralsExtended The String "Could not get constructor for " appears 2 times in the file. 185
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 239
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 242
 Warning extension MultipleStringLiteralsExtended The String "Could not instantiate collection persister " appears 2 times in the file. 242
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 245
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 252

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/internal/PersisterFactoryInitiator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/persister/internal/StandardPersisterClassResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getEntityPersisterClass' method is 4 (max allowed is 1). 52
 Warning extension MultipleStringLiteralsExtended The String "Could not determine persister implementation for entity [" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 75
 Warning extension ReturnCountExtended Return count for 'getEntityPersisterClass' method is 4 (max allowed is 1). 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/pretty/MessageHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<null>" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "<null EntityPersister>" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "#<" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "<unreferenced>" appears 4 times in the file. 265

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/BackrefPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/BasicPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Null value was assigned to a property of primitive type" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Exception occurred inside" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "IllegalAccessException occurred while calling" appears 2 times in the file. 99
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 214
 Warning extension MultipleStringLiteralsExtended The String " in class " appears 2 times in the file. 255
 Warning extension ReturnCountExtended Return count for 'getSetterOrNull' method is 2 (max allowed is 1). 262
 Warning extension ReturnCountExtended Return count for 'getGetterOrNull' method is 2 (max allowed is 1). 326
 Warning extension ReturnCountExtended Return count for 'getterMethod' method is 3 (max allowed is 1). 349
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 351

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/ChainedPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " on " appears 2 times in the file. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/DirectPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 76
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/EmbeddedPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 84

hibernate-orm/hibernate-core/src/main/java/org/hibernate/property/PropertyAccessorFactory.java

Severity Category Rule Message Line
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 73
 Warning extension MultipleStringLiteralsExtended The String "Unknown entity mode [" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 80
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 95
 Warning extension MultipleStringLiteralsExtended The String "property" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "embedded" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "noop" appears 2 times in the file. 122
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 150
 Warning extension MultipleStringLiteralsExtended The String "map" appears 2 times in the file. 154

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'unsetSession' in constructor body leads to the call of the overridable method 'prepareForPossibleLoadingOutsideTransaction'. 83
 Warning extension OverridableMethodInConstructor Calling the method 'setSession' in constructor body leads to the call of the overridable method 'prepareForPossibleLoadingOutsideTransaction'. 86
 Warning extension MultipleStringLiteralsExtended The String "could not initialize proxy - no Session" appears 2 times in the file. 165
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 170
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 222
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 229
 Warning extension EitherLogOrThrow Either log or throw exception. 230
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 231
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 315
 Warning extension LogicConditionNeedOptimization Condition with && at line 343 position 31 need optimization. All method calls are advised to move to end of logic expression. 343

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/AbstractSerializableProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/HibernateProxyHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/dom4j/Dom4jLazyInitializer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/dom4j/Dom4jProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 57
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/map/MapLazyInitializer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/map/MapProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/pojo/BasicLazyInitializer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 5 (max allowed is 1). 72
 Warning extension ReturnCountExtended Return count for 'getReplacement' method is 2 (max allowed is 1). 111
 Warning extension LogicConditionNeedOptimization Condition with && at line 113 position 25 need optimization. All method calls are advised to move to end of logic expression. 113

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 109
 Warning extension EitherLogOrThrow Either log or throw exception. 110
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 142
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 165
 Warning extension EitherLogOrThrow Either log or throw exception. 166
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 171
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 181
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 182
 Warning extension AvoidHidingCauseException Cause exception 'ite' was lost. 214
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 239

hibernate-orm/hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistProxyFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/secure/internal/HibernatePermission.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/secure/internal/JACCConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "policy context exception occurred" appears 2 times in the file. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/secure/internal/JACCPermissions.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 98
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 101

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/BootstrapServiceRegistryBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 175
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/StandardServiceInitiators.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/classloading/internal/ClassLoaderServiceImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 139
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 150
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension ReturnCountExtended Return count for 'locateResourceStream' method is 4 (max allowed is 1). 174
 Warning extension MultipleStringLiteralsExtended The String "trying via [new URL(\"%s\")]" appears 2 times in the file. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 180
 Warning extension MultipleStringLiteralsExtended The String "trying via [ClassLoader.getResourceAsStream(\"%s\")]" appears 2 times in the file. 184
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 190
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 200
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 228
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 245
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 274
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 314

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/config/internal/ConfigurationServiceImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'cast' method is 2 (max allowed is 1). 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 107

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension ReturnCountExtended Return count for 'initializeService' method is 2 (max allowed is 1). 169
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 269
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 290
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 329
 Warning extension MultipleStringLiteralsExtended The String "of all child ServiceRegistries" appears 2 times in the file. 358

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/internal/BootstrapServiceRegistryImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension MultipleStringLiteralsExtended The String "Boot-strap registry should only contain provided services" appears 4 times in the file. 154
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 179
 Warning extension MultipleStringLiteralsExtended The String "of all child ServiceRegistries" appears 2 times in the file. 203

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/internal/ConcurrentServiceBinding.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 124
 Warning extension MultipleStringLiteralsExtended The String "Unable to load schema [" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 150
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 165

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/internal/StandardSessionFactoryServiceInitiators.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/connections/internal/ConnectionProviderInitiator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 156
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 191
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 200
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 221
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 276
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 292

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 110
 Warning extension MultipleStringLiteralsExtended The String "Specified JDBC Driver " appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String " could not be loaded" appears 2 times in the file. 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 123
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127
 Warning extension ReturnCountExtended Return count for 'getConnection' method is 2 (max allowed is 1). 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 233
 Warning extension FinalizeImplementation finalize() method should contain try-finally block with super.finalize() call inside finally block. 243

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/connections/internal/MultiTenantConnectionProviderInitiator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'initiateService' method is 4 (max allowed is 1). 54
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 87
 Warning extension AvoidHidingCauseException Cause exception 'cle' was lost. 88
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 97

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/connections/internal/UserSuppliedConnectionProviderImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The application must supply JDBC connections" appears 2 times in the file. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/AbstractDialectResolver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/BasicDialectResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveDialectInternal' method is 2 (max allowed is 1). 56
 Warning extension LogicConditionNeedOptimization Condition with && at line 61 position 4 need optimization. All method calls are advised to move to end of logic expression. 61
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/DialectFactoryImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 64
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/DialectResolverInitiator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 71

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/DialectResolverSet.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 73

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jdbc/dialect/internal/StandardDialectResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveDialectInternal' method is 28 (max allowed is 1). 71

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jmx/internal/JmxServiceImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 72
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension ReturnCountExtended Return count for 'findServer' method is 3 (max allowed is 1). 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 207

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jndi/internal/JndiServiceImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 180
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 195

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/AbstractJtaPlatform.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 118
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 137

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/BitronixJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/JBossAppServerJtaPlatform.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'jndiExceptionInner' was lost. 62
 Warning extension AvoidHidingCauseException Cause exception 'jndiExceptionInner' was lost. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/JBossStandAloneJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 51
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/JOTMJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/JOnASJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/JtaPlatformInitiator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'mapLegacyClasses' method is 15 (max allowed is 1). 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 154
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 155

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/OrionJtaPlatform.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "java:comp/UserTransaction" appears 2 times in the file. 36

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/TransactionManagerBasedSynchronizationStrategy.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 49

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/WebSphereExtendedJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 195
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 217

hibernate-orm/hibernate-core/src/main/java/org/hibernate/service/jta/platform/internal/WebSphereJtaPlatform.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/ANSIJoinFragment.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 69
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Alias.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Alias' does not extend anything. 41
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Alias' does not extend anything. 50

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/CaseFragment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 42

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/DecodeCaseFragment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Delete.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 60 position 53 need optimization. All method calls are advised to move to end of logic expression. 60
 Warning extension MultipleStringLiteralsExtended The String " and " appears 4 times in the file. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/ForUpdateFragment.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'addTableAlias' is called in constructor body. 76
 Warning extension OverridableMethodInConstructor Overridable method 'addTableAlias' is called in constructor body. 80
 Warning extension OverridableMethodInConstructor Overridable method 'setNowaitEnabled' is called in constructor body. 90

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/HSQLCaseFragment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/InFragment.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension ReturnCountExtended Return count for 'toFragmentString' method is 2 (max allowed is 1). 72
 Warning extension MultipleStringLiteralsExtended The String " in (" appears 2 times in the file. 109

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Insert.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/JoinFragment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/MckoiCaseFragment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/OracleJoinFragment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "(+)" appears 3 times in the file. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 142

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/QueryJoinFragment.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 54
 Warning extension MultipleStringLiteralsExtended The String " and " appears 4 times in the file. 88

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/QuerySelect.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 72
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 80
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 88
 Warning extension MoveVariableInsideIf Variable 'quoted' can be moved inside the block at line '186' to restrict runtime creation. 185
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 185

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Select.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/SelectFragment.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 48
 Warning extension MoveVariableInsideIf Variable 'column' can be moved inside the block at line '150' to restrict runtime creation. 143
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 147
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 151

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/SelectValues.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension MultipleStringLiteralsExtended The String "?" appears 4 times in the file. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 59

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Sybase11JoinFragment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Template.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "from" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "as" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "leading" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "trailing" appears 2 times in the file. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 104
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 161
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "(" appears 4 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 207
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 222
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 232
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 633
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 678

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/Update.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "=?" appears 2 times in the file. 167
 Warning extension LogicConditionNeedOptimization Condition with || at line 204 position 36 need optimization. All method calls are advised to move to end of logic expression. 204
 Warning extension LogicConditionNeedOptimization Condition with || at line 204 position 80 need optimization. All method calls are advised to move to end of logic expression. 204
 Warning extension MultipleStringLiteralsExtended The String " and " appears 4 times in the file. 212

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 78
 Warning extension ReturnCountExtended Return count for 'isFunctionName' method is 3 (max allowed is 1). 86
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 87
 Warning extension MultipleStringLiteralsExtended The String "{param list}" appears 2 times in the file. 93
 Warning extension ReturnCountExtended Return count for 'resolveFunction' method is 2 (max allowed is 1). 112
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 113
 Warning extension ReturnCountExtended Return count for 'resolveFunctionArgument' method is 2 (max allowed is 1). 150
 Warning extension MultipleStringLiteralsExtended The String "{" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "}" appears 3 times in the file. 157
 Warning extension ReturnCountExtended Return count for 'resolveIdent' method is 3 (max allowed is 1). 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 177
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 226
 Warning extension LogicConditionNeedOptimization Condition with || at line 259 position 4 need optimization. All method calls are advised to move to end of logic expression. 259
 Warning extension LogicConditionNeedOptimization Condition with || at line 260 position 4 need optimization. All method calls are advised to move to end of logic expression. 260
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 309
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 326

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentRenderer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83

hibernate-orm/hibernate-core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentTranslator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/stat/internal/CategorizedStatistics.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/main/java/org/hibernate/stat/internal/ConcurrentCollectionStatisticsImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/stat/internal/ConcurrentEntityStatisticsImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/stat/internal/ConcurrentStatisticsImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'clear' is called in constructor body. 127
 Warning extension OverridableMethodInConstructor Overridable method 'clear' is called in constructor body. 131
 Warning extension ReturnCountExtended Return count for 'getNaturalIdCacheStatistics' method is 3 (max allowed is 1). 308
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 732
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 739

hibernate-orm/hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsInitiator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/enhance/EnhancementTask.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String "Error processing included file [%s]" appears 2 times in the file. 112
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "Unable to enhance class [" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 123
 Warning extension RedundantReturn Redundant return. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 134
 Warning extension RedundantReturn Redundant return. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 213

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/ColumnMetadata.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "TABLE" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "VIEW" appears 2 times in the file. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 113
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 197

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/ForeignKeyMetadata.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54
 Warning extension ReturnCountExtended Return count for 'matches' method is 2 (max allowed is 1). 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/ImportSqlCommandExtractorInitiator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 37

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/MultipleLinesSqlCommandExtractor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 24

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 346
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 358
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 384
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 394
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 403
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 421
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 451
 Warning extension MoveVariableInsideIf Variable 'sqlExceptionHelper' can be moved inside the block at line '495' to restrict runtime creation. 486
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 625

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExportTask.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 110
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 162
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 185
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 270
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 282
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 291

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdateScript.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdateTask.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 103
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 140
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 186

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidatorTask.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 119

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SingleLineSqlCommandExtractor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SuppliedConnectionHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 52

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SuppliedConnectionProviderConnectionHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 57

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/TableMetadata.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'initColumns' in constructor body leads to the call of the overridable method 'addColumn'. 59
 Warning extension OverridableMethodInConstructor Calling the method 'initIndexes' in constructor body leads to the call of the overridable method 'getIndexMetadata'. 62
 Warning extension MultipleStringLiteralsExtended The String "COLUMN_NAME" appears 2 times in the file. 143

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/UniqueConstraintSchemaUpdateStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'interpret' method is 3 (max allowed is 1). 67
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 85

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tool/instrument/BasicInstrumentationTask.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 94

hibernate-orm/hibernate-core/src/main/java/org/hibernate/transform/AliasToBeanConstructorResultTransformer.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/transform/AliasToBeanResultTransformer.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 84
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 100
 Warning extension MultipleStringLiteralsExtended The String "Could not instantiate resultclass: " appears 2 times in the file. 100
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 103

hibernate-orm/hibernate-core/src/main/java/org/hibernate/transform/CacheableResultTransformer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transformer cannot be null" appears 2 times in the file. 112
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 150
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 214

hibernate-orm/hibernate-core/src/main/java/org/hibernate/transform/DistinctResultTransformer.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 67 position 5 need optimization. All method calls are advised to move to end of logic expression. 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/transform/Transformers.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/ElementWrapper.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/PojoInstantiator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/Property.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/PropertyFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildIdentifierProperty' method is 2 (max allowed is 1). 69
 Warning extension ReturnCountExtended Return count for 'buildIdentifierProperty' method is 2 (max allowed is 1). 111
 Warning extension LogicConditionNeedOptimization Condition with && at line 181 position 28 need optimization. All method calls are advised to move to end of logic expression. 181
 Warning extension ReturnCountExtended Return count for 'buildStandardProperty' method is 2 (max allowed is 1). 277
 Warning extension MoveVariableInsideIf Variable 'alwaysDirtyCheck' can be moved inside the block at line '290' to restrict runtime creation. 288
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 366
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 379

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/component/AbstractComponentTuplizer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54
 Warning extension OverridableMethodInConstructor Overridable method 'buildGetter' is called in constructor body. 64
 Warning extension OverridableMethodInConstructor Overridable method 'buildSetter' is called in constructor body. 65
 Warning extension OverridableMethodInConstructor Overridable method 'buildInstantiator' is called in constructor body. 72

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentMetamodel.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 86
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentTuplizerFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension MultipleStringLiteralsExtended The String "Specified tuplizer class [" appears 2 times in the file. 55
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 80
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 80
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/component/DynamicMapComponentTuplizer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/component/PojoComponentTuplizer.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 90
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 177
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 180
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 241
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 244
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 359
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 396
 Warning extension MultipleStringLiteralsExtended The String "Deprecated version of getIdentifier (no session) was used but session was required" appears 2 times in the file. 478
 Warning extension MoveVariableInsideIf Variable 'versionProperty' can be moved inside the block at line '582' to restrict runtime creation. 581
 Warning extension ReturnCountExtended Return count for 'getPropertyValue' method is 3 (max allowed is 1). 633
 Warning extension ReturnCountExtended Return count for 'getComponentValue' method is 3 (max allowed is 1). 672
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 786

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 206
 Warning extension LogicConditionNeedOptimization Condition with && at line 223 position 66 need optimization. All method calls are advised to move to end of logic expression. 223
 Warning extension LogicConditionNeedOptimization Condition with && at line 242 position 37 need optimization. All method calls are advised to move to end of logic expression. 242
 Warning extension MultipleStringLiteralsExtended The String "optimistic-lock=all|dirty requires dynamic-update=\"true\": " appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "version and optimistic-lock=all|dirty are not a valid combination : " appears 2 times in the file. 316
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 365
 Warning extension MoveVariableInsideIf Variable 'foundUpdateableNaturalIdProperty' can be moved inside the block at line '510' to restrict runtime creation. 426
 Warning extension LogicConditionNeedOptimization Condition with && at line 470 position 66 need optimization. All method calls are advised to move to end of logic expression. 470
 Warning extension LogicConditionNeedOptimization Condition with && at line 489 position 37 need optimization. All method calls are advised to move to end of logic expression. 489
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 708
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 712
 Warning extension LogicConditionNeedOptimization Condition with && at line 721 position 32 need optimization. All method calls are advised to move to end of logic expression. 721
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 872
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 920
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 924

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizerFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension MultipleStringLiteralsExtended The String "Specified tuplizer class [" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "] is not properly instantiatable" appears 2 times in the file. 59
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 87
 Warning extension MultipleStringLiteralsExtended The String "Could not locate specified tuplizer class [" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "]" appears 8 times in the file. 87
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 113
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate proper constructor for tuplizer [" appears 2 times in the file. 133
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 137
 Warning extension MultipleStringLiteralsExtended The String "Unable to instantiate default tuplizer [" appears 2 times in the file. 138
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 162
 Warning extension MultipleStringLiteralsExtended The String "could not determine default tuplizer class to use [" appears 2 times in the file. 185
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 244

hibernate-orm/hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension MultipleStringLiteralsExtended The String "proxy must be either an interface, or the class itself: " appears 4 times in the file. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273
 Warning extension LogicConditionNeedOptimization Condition with && at line 375 position 49 need optimization. All method calls are advised to move to end of logic expression. 375
 Warning extension LogicConditionNeedOptimization Condition with && at line 388 position 40 need optimization. All method calls are advised to move to end of logic expression. 388
 Warning extension LogicConditionNeedOptimization Condition with && at line 401 position 40 need optimization. All method calls are advised to move to end of logic expression. 401
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 496
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 538
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 554
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 566

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AbstractBynaryType.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 3 (max allowed is 1). 69

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AbstractCharArrayType.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 68

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AbstractLobType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 44

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AbstractLongStringType.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AbstractStandardBasicType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/AnyType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 280
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 282
 Warning extension MultipleStringLiteralsExtended The String "any types do not have a unique referenced persister" appears 2 times in the file. 342
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 362

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ArrayType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 67

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/BasicTypeRegistry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/BinaryType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 63

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ByteType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/CharBooleanType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/CollectionType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 77
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 103
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210
 Warning extension ReturnCountExtended Return count for 'getKeyOfOwner' method is 2 (max allowed is 1). 356
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 489
 Warning extension MoveVariableInsideIf Variable 'entityMode' can be moved inside the block at line '714' to restrict runtime creation. 709
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 762
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 776

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ComponentType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 71
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 100
 Warning extension ReturnCountExtended Return count for 'isDirty' method is 3 (max allowed is 1). 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 458
 Warning extension LogicConditionNeedOptimization Condition with && at line 568 position 45 need optimization. All method calls are advised to move to end of logic expression. 568
 Warning extension ReturnCountExtended Return count for 'hydrate' method is 2 (max allowed is 1). 627
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 721

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/CompositeCustomType.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 286

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/CurrencyType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\'" appears 2 times in the file. 58

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/CustomCollectionType.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ie' was lost. 86
 Warning extension AvoidHidingCauseException Cause exception 'iae' was lost. 89

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/DbTimestampType.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 70
 Warning extension MultipleStringLiteralsExtended The String "Current timestamp retreived from db : {0} (nanos={1}, time={2})" appears 2 times in the file. 97

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/DoubleType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/EntityType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 60
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 201
 Warning extension ReturnCountExtended Return count for 'replace' method is 4 (max allowed is 1). 335
 Warning extension ReturnCountExtended Return count for 'isEqual' method is 2 (max allowed is 1). 397
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 446
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 453
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 461
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 473
 Warning extension ReturnCountExtended Return count for 'getIdentifier' method is 3 (max allowed is 1). 530
 Warning extension LogicConditionNeedOptimization Condition with || at line 535 position 33 need optimization. All method calls are advised to move to end of logic expression. 535
 Warning extension LogicConditionNeedOptimization Condition with || at line 669 position 33 need optimization. All method calls are advised to move to end of logic expression. 669
 Warning extension LogicConditionNeedOptimization Condition with || at line 691 position 33 need optimization. All method calls are advised to move to end of logic expression. 691
 Warning extension LogicConditionNeedOptimization Condition with && at line 718 position 17 need optimization. All method calls are advised to move to end of logic expression. 718

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/EnumType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 76
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 115
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 163
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 362
 Warning extension MultipleStringLiteralsExtended The String "Returning null as column [%s]" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "Returning [%s] as column [%s]" appears 2 times in the file. 383
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 434
 Warning extension AvoidHidingCauseException Cause exception 'iae' was lost. 467

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/FloatType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ForeignKeyDirection.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 61

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/IntegerType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/LongType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 120
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 136
 Warning extension ReturnCountExtended Return count for 'disassemble' method is 2 (max allowed is 1). 234

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/MetaType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 63

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/OneToOneType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 166

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/SerializableType.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/ShortType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/SpecialOneToOneType.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'disassemble' method is 2 (max allowed is 1). 115

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/StandardBasicTypes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 182
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 197
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 211
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 218
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 225
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 232
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 239
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 246
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 254
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 262
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 271
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 278
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 286
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 295
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 304
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 312
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 320
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 329
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 338
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 347

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/StringClobType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 74

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/TypeFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 53
 Warning extension ReturnCountExtended Return count for 'byClass' method is 5 (max allowed is 1). 92
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 123
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 152
 Warning extension MultipleStringLiteralsExtended The String "Unable to instantiate custom type: " appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "user collection type class not found: " appears 2 times in the file. 174
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 216

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 257
 Warning extension ReturnCountExtended Return count for 'findDirty' method is 2 (max allowed is 1). 282
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 306
 Warning extension ReturnCountExtended Return count for 'findModified' method is 2 (max allowed is 1). 330
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 355

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/TypeResolver.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/JdbcTypeNameMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/AbstractTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 80
 Warning extension MultipleStringLiteralsExtended The String " to " appears 2 times in the file. 114

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 7 (max allowed is 1). 62

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 7 (max allowed is 1). 65

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Blobs are not cacheable" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Unable to access blob stream" appears 2 times in the file. 86
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 2 (max allowed is 1). 115
 Warning extension ReturnCountExtended Return count for 'wrap' method is 2 (max allowed is 1). 155
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 174

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 71
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 102

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 65
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 4 (max allowed is 1). 79
 Warning extension ReturnCountExtended Return count for 'wrap' method is 3 (max allowed is 1). 102
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 104
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 130
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 142

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 49
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 89

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 126

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 142

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterArrayTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 116
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 128

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 54

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Clobs are not cacheable" appears 2 times in the file. 63
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 3 (max allowed is 1). 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DataHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unable to skip needed bytes" appears 2 times in the file. 124
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 129
 Warning extension MultipleStringLiteralsExtended The String "IOException occurred reading a binary value" appears 3 times in the file. 146
 Warning extension ReturnCountExtended Return count for 'extractBytes' method is 2 (max allowed is 1). 217
 Warning extension LogicConditionNeedOptimization Condition with && at line 218 position 52 need optimization. All method calls are advised to move to end of logic expression. 218
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 234

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 89

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 8 (max allowed is 1). 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 8 (max allowed is 1). 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 8 (max allowed is 1). 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcDateTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 106
 Warning extension ReturnCountExtended Return count for 'wrap' method is 3 (max allowed is 1). 143

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimeTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'areEqual' method is 2 (max allowed is 1). 85
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 109
 Warning extension ReturnCountExtended Return count for 'wrap' method is 3 (max allowed is 1). 146

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'areEqual' method is 3 (max allowed is 1). 80
 Warning extension MoveVariableInsideIf Variable 'n1' can be moved inside the block at line '101' to restrict runtime creation. 94
 Warning extension MoveVariableInsideIf Variable 'n2' can be moved inside the block at line '101' to restrict runtime creation. 95
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 103
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 104
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 119
 Warning extension ReturnCountExtended Return count for 'wrap' method is 3 (max allowed is 1). 156

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'fromString' method is 2 (max allowed is 1). 60
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 74
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 96

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 8 (max allowed is 1). 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 98

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Clobs are not cacheable" appears 2 times in the file. 63
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 3 (max allowed is 1). 100

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 79
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 115

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveCharacterArrayTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 108

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/SerializableTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 6 (max allowed is 1). 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 88

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unwrap' method is 4 (max allowed is 1). 55

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/BasicBinder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/BlobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 124

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/ClobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 120

hibernate-orm/hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/NClobTypeDescriptor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 105

hibernate-orm/hibernate-core/src/test/java/org/hibernate/cache/spi/QueryKeyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "propAccessedByField" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "propAccessedByMethod" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "really messed up" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "apparent QueryKey equals/hashCode issue" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "new value" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "deserialization did not set hashCode or equals properly" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "deserialization issue for non-singleton transformer" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "deep copy issue" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 150

hibernate-orm/hibernate-core/src/test/java/org/hibernate/connection/DriverManagerRegistrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jdbc:hibernate:test" appears 2 times in the file. 57
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 59
 Warning extension MultipleStringLiteralsExtended The String "Error loading JDBC Driver class : " appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "jdbc:hibernate:test2" appears 2 times in the file. 78
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 79
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 86
 Warning extension MultipleStringLiteralsExtended The String "Unable to register driver : " appears 2 times in the file. 171

hibernate-orm/hibernate-core/src/test/java/org/hibernate/connection/PropertiesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "76f271db3661fd50082e68d4b953fbee" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/DerbyDialectTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select * from tablename t where t.cat = 5" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String " rows only" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String " rows fetch next " appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "select c11 as col1, c12 as col2, c13 as col13 from t1 where flight_id between 'AA1111' and 'AA1112' offset " appears 2 times in the file. 85

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/Mocks.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 2 times in the file. 81
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 109
 Warning extension ReturnCountExtended Return count for 'invoke' method is 5 (max allowed is 1). 115

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/PostgreSQL81DialectTestCase.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/SQLServer2005DialectTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "WITH query AS (SELECT inner_query.*, ROW_NUMBER() OVER (ORDER BY CURRENT_TIMESTAMP) as __hibernate_row_nr__ FROM ( " appears 8 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String " ) inner_query ) " appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "SELECT col_0_0_, col_1_0_ FROM query WHERE __hibernate_row_nr__ >= ? AND __hibernate_row_nr__ < ?" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "from Product2 product2x0_ order by product2x0_.id" appears 4 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "SELECT * FROM query WHERE __hibernate_row_nr__ >= ? AND __hibernate_row_nr__ < ?" appears 2 times in the file. 192

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/TestingDialects.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'databaseMajorVersion' can be moved inside the block at line '56' to restrict runtime creation. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/resolver/DialectFactoryTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.dialect.HSQLDialect" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "unexpected exception type" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "MySQL" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "PostgreSQL" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "Apache Derby" appears 4 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Oracle" appears 4 times in the file. 156

hibernate-orm/hibernate-core/src/test/java/org/hibernate/dialect/resolver/DialectResolverTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MyDatabase1" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "MyDatabase2" appears 9 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "MyTrickyDatabase1" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "ErrorDatabase1" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolverTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dialect for " appears 2 times in the file. 151

hibernate-orm/hibernate-core/src/test/java/org/hibernate/engine/query/ParameterParserTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/event/internal/MergeContextTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension MultipleStringLiteralsExtended The String "should have thrown UnsupportedOperationException" appears 9 times in the file. 208
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 372
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441

hibernate-orm/hibernate-core/src/test/java/org/hibernate/id/AbstractHolderTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164

hibernate-orm/hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorNoIncrementTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 158
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'session'. 163

hibernate-orm/hibernate-core/src/test/java/org/hibernate/id/enhanced/OptimizerUnitTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 137
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 195
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 200
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 206
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 210
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 212
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 297

hibernate-orm/hibernate-core/src/test/java/org/hibernate/id/enhanced/SequenceStyleConfigUnitTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "20" appears 4 times in the file. 178

hibernate-orm/hibernate-core/src/test/java/org/hibernate/id/uuid/CustomVersionOneStrategyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

hibernate-orm/hibernate-core/src/test/java/org/hibernate/jdbc/LobCreatorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension MultipleStringLiteralsExtended The String "Hi" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension MultipleStringLiteralsExtended The String "not supported!" appears 3 times in the file. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 236
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 259

hibernate-orm/hibernate-core/src/test/java/org/hibernate/jdbc/util/BasicFormatterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " \t\n\r\f()" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78

hibernate-orm/hibernate-core/src/test/java/org/hibernate/jmx/TrivialTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 45
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/jpa/version/Customer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/property/BasicPropertyAccessorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "it" appears 4 times in the file. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/property/DirectPropertyAccessorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/property/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/property/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/serialization/SessionFactorySerializationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "uuid" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "some-other-uuid" appears 2 times in the file. 64

hibernate-orm/hibernate-core/src/test/java/org/hibernate/service/internal/ConcurrentServiceBindingTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112

hibernate-orm/hibernate-core/src/test/java/org/hibernate/service/internal/ServiceRegistryClosingCascadeTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294

hibernate-orm/hibernate-core/src/test/java/org/hibernate/sql/TemplateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sql" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "comp_1" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "comp_2" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String ".col)" appears 8 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String ".\"sql\" desc" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "upper(" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String ".prop) desc" appears 3 times in the file. 202

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/AlternativeNamingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_" appears 4 times in the file. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Boat.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Boat' does not extend anything. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Company.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/ConfigurationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/annotations/hibernate.cfg.xml" appears 6 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "create-drop" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "from Boat" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "from Plane" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Annotation has precedence" appears 2 times in the file. 96
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '!='. 96
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 122

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Discount.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/EntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AF3202" appears 7 times in the file. 68
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 83
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 84
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 97
 Warning extension MultipleStringLiteralsExtended The String "should not be insertable" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension MultipleStringLiteralsExtended The String "should not be updatable" appears 2 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "monday" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "January" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "unique constraints not respected" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "March" appears 3 times in the file. 201
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension MultipleStringLiteralsExtended The String "black" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "Paris" appears 2 times in the file. 297
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension MultipleStringLiteralsExtended The String "Paris-Amsterdam" appears 3 times in the file. 342
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 354
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 408
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 419

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Flight.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/FlyingObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/JoinedSubclassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Channel" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 124

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Passport.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/SecuredBindingTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 39
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Sky.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Thing.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 12
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/Ticket.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/AccessTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/Furniture.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/Gardenshed.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/Woody.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/jpa/AccessMappingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "@Id and @OneToMany are not placed consistently in test entities. SessionFactory creation should fail." appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Field access should be used." appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Property access should be used." appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Field access should be used since the default access mode gets inherited" appears 2 times in the file. 196

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/jpa/AccessTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Doe" appears 2 times in the file. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 199
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 223

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/jpa/Furniture.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/jpa/Gardenshed.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/jpa/Woody.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/xml/Tourist.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/access/xml/XmlAccessTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/AnyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "name" appears 9 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Alex" appears 7 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "age" appears 5 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "33" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "sample" appears 4 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "121" appears 2 times in the file. 159

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/CharProperty.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CharProperty' does not extend anything. 17
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CharProperty' does not extend anything. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/IntegerProperty.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'IntegerProperty' does not extend anything. 15
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'IntegerProperty' does not extend anything. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/LongProperty.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'LongProperty' does not extend anything. 17
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'LongProperty' does not extend anything. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertyList.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 27
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'PropertyList' does not extend anything. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertyMap.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'PropertyMap' does not extend anything. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertySet.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 26
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'PropertySet' does not extend anything. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/any/StringProperty.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'StringProperty' does not extend anything. 15
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'StringProperty' does not extend anything. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/array/ArrayTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/backquotes/BackquoteTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 50
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 85

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Address.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationDisabledTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationGroupsTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 52
 Warning extension MultipleStringLiteralsExtended The String "invalid object should not be validated" appears 2 times in the file. 57
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 59

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationProvidedFactoryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Oops" appears 2 times in the file. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "Validator annotations are applied on tuner as it is @NotNull" appears 2 times in the file. 90

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/HibernateTraversableResolverTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Associated objects should not be validated" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "STOOOOOP" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Collection of embedded objects should be validated" appears 2 times in the file. 162

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Screen.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/bytecode/ProxyBreakingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/CascadeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "incisive" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "premolars" appears 2 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 176

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/CascadeToEmbeddedManyToOneTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension MultipleStringLiteralsExtended The String "PERSON NAME 1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "PERSON NAME 2" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "CODE" appears 2 times in the file. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 75

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/CodedPairHolder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CodedPairHolder' does not extend anything. 48
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CodedPairHolder' does not extend anything. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/CodedPairSetHolder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CodedPairSetHolder' does not extend anything. 61
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CodedPairSetHolder' does not extend anything. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/NonNullableCircularDependencyCascadeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 68

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Person' does not extend anything. 48
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Person' does not extend anything. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/PersonPair.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'PersonPair' does not extend anything. 51
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'PersonPair' does not extend anything. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/A.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 51
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/CascadeCircleIdentityIdTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/A.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 51
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/CascadeCircleSequenceIdTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/sequence/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 49
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 90

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/C.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/identity/MultiCircleJpaCascadeIdentityTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 232

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 51
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/C.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/E.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/jpa/sequence/MultiCircleJpaCascadeSequenceTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 230

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 49
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 90

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/C.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/E.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/identity/MultiCircleNonJpaCascadeIdentityTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 255

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 51
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/C.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/E.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/multicircle/nonjpa/sequence/MultiCircleNonJpaCascadeSequenceTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 252

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/A.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/AId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/ChildPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Bernard" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "select c from Child c where c.id.nthChild = :nth" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "nth" appears 2 times in the file. 103

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/OrderLinePk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/ParentPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 29
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/SomeEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/SomeEntityId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'SomeEntityId' does not extend anything. 21
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'SomeEntityId' does not extend anything. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/TvMagazinPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/keymanytoone/Card.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/keymanytoone/CardField.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/keymanytoone/EagerKeyManyToOneTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 70

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/keymanytoone/Key.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/cid/keymanytoone/PrimaryKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/Boy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 159
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 166

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/CustomImprovedNamingCollectionElementTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mvalues" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "elements" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "hatedNames" appears 2 times in the file. 99

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/DefaultNamingCollectionElementTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BoyFavoriteNumbers" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "favoriteNumbers" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "John" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Doe" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Johnny" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Thing" appears 12 times in the file. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension MultipleStringLiteralsExtended The String "breakfast" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "lunch" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "dinner" appears 2 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "select boy from Boy boy join boy.nickNames names where names = :name" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension MultipleStringLiteralsExtended The String "hatedNames" appears 3 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "nickNames" appears 2 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "bugs" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "mvalues" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "elements" appears 2 times in the file. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/EntityWithAnElementCollection.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/ImprovedNamingCollectionElementTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mvalues" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "elements" appears 2 times in the file. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/LocalizedString.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 30
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/Matrix.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/OrderByTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension MultipleStringLiteralsExtended The String "hammer" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "axel" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "screwdriver" appears 2 times in the file. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "Scott" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 2 times in the file. 106

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/Owner.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/embeddables/withcustomenumdef/Location.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/embeddables/withcustomenumdef/Query.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/ordered/Person.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/configuration/ConfigurationTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 15
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension MultipleStringLiteralsExtended The String "SELECT COUNT(*) FROM " appears 2 times in the file. 168

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 26

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/EmployerId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Bar.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Dependent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/DerivedIdentityWithBidirectionalAssociationTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 2 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Foo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Some details" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Alfio" appears 3 times in the file. 94

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OrderLine.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'OrderLine' does not extend anything. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/PersonInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/a/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/a/DerivedIdentitySimpleParentIdClassDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/DerivedIdentitySimpleParentEmbeddedIdDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "empPK" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Doggy" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "ExclusiveDependent" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 54
 Warning extension LogicConditionNeedOptimization Condition with && at line 218 position 4 need optimization. All method calls are advised to move to end of logic expression. 218

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/CustomerInventory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/CustomerInventoryPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/IdMapManyToOneSpecjTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "blada" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "a house" appears 2 times in the file. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/lazy/CompositeKeyDeleteTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/lazy/CustomerInventoryTwo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/lazy/CustomerInventoryTwoPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/lazy/CustomerTwo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 59
 Warning extension LogicConditionNeedOptimization Condition with && at line 224 position 4 need optimization. All method calls are advised to move to end of logic expression. 224

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b2/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension LogicConditionNeedOptimization Condition with && at line 190 position 6 need optimization. All method calls are advised to move to end of logic expression. 190

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b2/CustomerInventory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b2/CustomerInventoryPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b2/IdClassGeneratedValueManyToOneTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/b2/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/c/Dependent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/c/DerivedIdentitySimpleParentEmbeddedDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/a/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/a/DerivedIdentityIdClassParentIdClassDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 19
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 5 times in the file. 19
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 20
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 21
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 22
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/a/EmployeeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/b/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/b/DerivedIdentityIdClassParentEmbeddedIdDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 19
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 5 times in the file. 19
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 20
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 21
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 22
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e2/b/EmployeeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/a/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/a/DerivedIdentityEmbeddedIdParentIdClassTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 5 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/a/EmployeeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/b/DependentId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/b/DerivedIdentityEmbeddedIdParentEmbeddedIdDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "Dependent" appears 5 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e3/b/EmployeeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e4/a/DerivedIdentitySimpleParentSimpleDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 8 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "FinancialHistory" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e4/a/FinancialHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e4/a/MedicalHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e4/a/Simple.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e4/b/DerivedIdentitySimpleParentSimpleDepMapsIdTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "FK" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 2 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "FinancialHistory" appears 2 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "123456789" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "987654321" appears 2 times in the file. 103

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/a/DerivedIdentityIdClassParentSameIdTypeIdClassDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 6 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "FK1" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "FK2" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension MultipleStringLiteralsExtended The String "firstname" appears 2 times in the file. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/a/MedicalHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/a/PersonId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/b/DerivedIdentityIdClassParentSameIdTypeEmbeddedIdDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 3 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/b/PersonId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/c/ForeignGeneratorViaMapsIdTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e5/c/MedicalHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e6/a/DerivedIdentityEmbeddedIdParentSameIdTypeIdClassDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 3 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e6/a/MedicalHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e6/a/PersonId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e6/b/DerivedIdentityEmbeddedIdParentSameIdTypeEmbeddedIdDepTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "MedicalHistory" appears 3 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/e6/b/PersonId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/DollarValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/DollarValueUserType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected DollarValue" appears 2 times in the file. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/EmbeddableIntegratorTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 60
 Warning extension MultipleStringLiteralsExtended The String "100" appears 3 times in the file. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/Investor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/MyDate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/MyDateUserType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected MyDate" appears 2 times in the file. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/nested/Customer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/Deal.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/EmbeddedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "DM" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Matt Damon Land" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "US" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "United States of America" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "colorado street" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Springfield" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Homer" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "FR" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Je ne veux pes rester sage - Dolly" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "HiA Second Edition" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "This is a HiA SE summary" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "Fido" appears 3 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "Canada" appears 3 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "Rogers" appears 3 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "Bill" appears 3 times in the file. 388
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 524
 Warning extension MultipleStringLiteralsExtended The String "http://www.hibernate.org/" appears 5 times in the file. 534
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 541
 Warning extension MultipleStringLiteralsExtended The String "dynamic content" appears 2 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "has favorite idea 'http'" appears 2 times in the file. 565
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 583

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/LegalStructure.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/RegionalArticle.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/RegionalArticlePk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/SpreadDeal.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/Swap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 30
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/WealthyPerson.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 12
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 15
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/many2one/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/one2many/PersonName.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Father.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 25
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Mother.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 23
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 29
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Son.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 19
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Address.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Fontainebleau" appears 4 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '<'. 164
 Warning extension MultipleStringLiteralsExtended The String "SHARATH" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "sharath" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "REDDY" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "published" appears 3 times in the file. 302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension MultipleStringLiteralsExtended The String "Shalrie Joseph" appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "Taylor Twellman" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Player" appears 4 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "expected count of 0 but got = " appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "betweenLength" appears 2 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "minLength" appears 4 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Forest" appears 2 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "HomeDrill1" appears 2 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "Industrial" appears 2 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "byName" appears 2 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Drill" appears 2 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from PowerDrill" appears 2 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String "byCategory" appears 2 times in the file. 501
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 542
 Warning extension MultipleStringLiteralsExtended The String "Mordor" appears 2 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String "Gondor" appears 2 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "Eriador" appears 2 times in the file. 550
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 574
 Warning extension MultipleStringLiteralsExtended The String "EUR" appears 2 times in the file. 591
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 601
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 601
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 622
 Warning extension MultipleStringLiteralsExtended The String "999999" appears 2 times in the file. 631
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 705
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 727

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/CasterStringType.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 25
 Warning extension MultipleStringLiteralsExtended The String "lower" appears 2 times in the file. 43
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Flight.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/HibernateAnnotationMappingTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Java5FeaturesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "My best one" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 145

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/LastName.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 23
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/MonetaryAmount.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/MonetaryAmountUserType.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 23
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Month.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/PhoneNumber.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/PhoneNumberType.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/PropertyDefaultMappingsTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/SoccerTeam.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/Topic.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/WashingMachine.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 25
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/entitynonentity/EntityNonEntityTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EnumeratedTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ordinal" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "firstLetter" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "lastNumber" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "explicitOverridingImplicit" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "DELETE FROM EntityEnum where explicitOverridingImplicit='NUMBER_2'" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "')" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "select e from EntityEnum e" appears 2 times in the file. 360

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/mapkey/User.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/ormXml/OrmXmlEnumTypeTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetch/Branch.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetch/FetchingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "King" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "JBoss Inc" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "A380" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Blah" appears 10 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "from Person p where p.firstName = :name" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 147

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetch/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetch/Stay.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetchprofile/Country.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 16
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetchprofile/Customer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 86

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetchprofile/FetchProfileTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fetch profile not parsed properly" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "package-profile-1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "success" appears 4 times in the file. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fetchprofile/MoreFetchProfileTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/secondarytable/SecondaryTableTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 17
 Warning extension MultipleStringLiteralsExtended The String "select count(u) from User u" appears 2 times in the file. 26

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Club.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 12
 Warning extension MultipleStringLiteralsExtended The String "from Club" appears 3 times in the file. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/joined/Mammal.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 21
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/Mammal.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 21
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/Mammal.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 21
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fkcircularity/A_PK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fkcircularity/D_PK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/fkcircularity/FkCircularityTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 41
 Warning extension MultipleStringLiteralsExtended The String "success" appears 2 times in the file. 53
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 54
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 63
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/generics/Classes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/generics/EmbeddedGenericsTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension MultipleStringLiteralsExtended The String "Second" appears 4 times in the file. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/generics/GenericsTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 78

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/generics/UnresolvedTypeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/generics/WildEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/genericsinheritance/Parent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/IdClassTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/IdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "David" appears 3 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "Beckam" appears 4 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "Arsenal" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "Fabien" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "Bartez" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "Bimbo FC SA" appears 2 times in the file. 272

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/JoinColumnOverrideTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 56
 Warning extension MultipleStringLiteralsExtended The String "bunny_id numeric(128,0), primary key (id))" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Wrong SQL" appears 2 times in the file. 69
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Ball.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Bunny.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Department.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/FootballerPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 33
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Location.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/PointyTooth.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Shoe.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/Store.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/entities/TwinkleToes.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/generationmappings/DedicatedSequenceEntity1.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/generationmappings/DedicatedSequenceEntity2.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/IdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "David" appears 3 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Beckam" appears 4 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Arsenal" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Fabien" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Bartez" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Bimbo FC SA" appears 2 times in the file. 282

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/JoinColumnOverrideTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 34
 Warning extension MultipleStringLiteralsExtended The String "bunny_id numeric(128,0), primary key (id))" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Wrong SQL" appears 2 times in the file. 46
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Ball.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Bunny.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Department.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/FootballerPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 33
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Location.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/PointyTooth.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Shoe.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/Store.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/entities/TwinkleToes.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclass/DomainAdmin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclass/DomainAdminId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclass/xml/HabitatSpeciesLink.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclassgeneratedvalue/Multiple.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclassgeneratedvalue/MultiplePK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclassgeneratedvalue/Simple.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclassgeneratedvalue/Simple2.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idclassgeneratedvalue/SimplePK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/identifiercollection/IdentifierCollectionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Canada" appears 2 times in the file. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/BasketItems.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/BasketItemsPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Card.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 31
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Course.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/CourseStudent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Customers.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/IdManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "students" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 80

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/ShoppingBaskets.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/ShoppingBasketsPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Store.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/StoreCustomer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 19
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/StoreCustomerPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 13
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 18
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/Student.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/alphabetical/Acces.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/alphabetical/BId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/idmanytoone/alphabetical/CId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/immutable/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/immutable/ImmutableTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Germany" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "France" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Wrong number of states" appears 3 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "changed an immutable collection instance" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "success" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/AddressBook.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 19
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/AddressEntryPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/Atmosphere.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/GenerationUser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_KEY" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Could not find " appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Hibernate" appears 6 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "HumbaHumba" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 3 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "Copacabana" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "2.0" appears 3 times in the file. 199
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 205
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 6 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Helene" appears 3 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "Michau" appears 4 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "Levallois" appears 3 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Louis Blanc" appears 3 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "Dominique" appears 3 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "Villepin" appears 3 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "Paris" appears 3 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "Hotel Matignon" appears 3 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "Fake" appears 4 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "M" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "La Vie" appears 2 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "Picasso" appears 2 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "La Famille du Saltimbanque" appears 2 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "oxygen" appears 2 times in the file. 467
 Warning extension MultipleStringLiteralsExtended The String "100%" appears 3 times in the file. 468
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 493
 Warning extension MultipleStringLiteralsExtended The String "red" appears 3 times in the file. 493
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 502
 Warning extension MultipleStringLiteralsExtended The String "C" appears 2 times in the file. 538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 569
 Warning extension MultipleStringLiteralsExtended The String "Jim" appears 3 times in the file. 582
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 643

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/MapKeyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/Newspaper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/Painter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/PaintingPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/PressReleaseAgency.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/Software.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/indexcoll/Training.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/SubclassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "5.0" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "from " appears 3 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "Elephant" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "0123456789" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 130
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 174

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/VegetablePk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/discriminatoroptions/DiscriminatorOptionsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Account.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Alarm.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Client.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Client' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/EventInformation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Folder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassAndSecondaryTable.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "Park Avenue" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "Name1" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "Mama" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "123" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "Mama Mia Pizza" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "Rome" appears 2 times in the file. 210
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 231

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Person.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 61
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/joined/Sweater.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 14
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/mixed/Folder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/mixed/SubclassTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/union/Folder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/inheritance/union/SubclassTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/Cat.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/Death.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/DogPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/JoinTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "Long long description" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "from " appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "Colley" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Well, haven't seen it" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "kitty" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "My long story" appears 4 times in the file. 168
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 245

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/Life.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/namingstrategy/Life.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/join/namingstrategy/SimpleCat.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/loader/LoaderTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "me" appears 2 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 96

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/loader/Team.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/AbstractLobTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48
 Warning extension MultipleStringLiteralsExtended The String "Could not create an instance of type " appears 2 times in the file. 49
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/Document.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/Dog.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 4

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/Editor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/ExplicitSerializable.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/ImplicitSerializable.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/MaterializedBlobTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "explicitLob" appears 3 times in the file. 28
 Warning extension MultipleStringLiteralsExtended The String "explicit" appears 3 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "implicit" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "explicitOverridingImplicit" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "defaultExplicitLob" appears 2 times in the file. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/TextTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/VersionedLobTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Hibernate Bible" appears 2 times in the file. 103

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/locator/LobLocatorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "updated blob" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "updated clob" appears 2 times in the file. 79

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/CatPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Company.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Contractor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Employer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 26

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Friend.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Inspector.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/InspectorPrefixes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Man.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/ManPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 16
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/ManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Fnac" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "ManyToMany mappedBy lazyness" appears 4 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "second join non lazy" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "Dalton" appears 2 times in the file. 421
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 441
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 444
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 449
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 453
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension MultipleStringLiteralsExtended The String "read" appears 4 times in the file. 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 483
 Warning extension MultipleStringLiteralsExtended The String "Groupfilter" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "write" appears 4 times in the file. 512
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 514
 Warning extension MultipleStringLiteralsExtended The String "select g from Group g join fetch g.permissions" appears 2 times in the file. 525
 Warning extension MultipleStringLiteralsExtended The String "execute" appears 2 times in the file. 545
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 548
 Warning extension MultipleStringLiteralsExtended The String "dgi" appears 2 times in the file. 575
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 653
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 654
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 693
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 714

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Store.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Supplier.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/Woman.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/WomanPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/defaults/DefaultNamingManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Store_sId" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 240

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/defaults/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/defaults/Store.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Carz.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Child.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Frame.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Lotz.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/LotzPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneJoinTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Original forest" appears 2 times in the file. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Yellow" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Quentin Tarantino" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "Clooney" appears 2 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension MultipleStringLiteralsExtended The String "123" appears 5 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "Mouse" appears 2 times in the file. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 368
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 376

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Node.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/NodePk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/Parent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/ParentPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension LogicConditionNeedOptimization Condition with && at line 33 position 5 need optimization. All method calls are advised to move to end of logic expression. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/UserPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 9
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 12
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 16
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoone/referencedcolumnname/GenericObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Company.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 58
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/ContractId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Language.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/ManufacturerId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/ManyToOneWithFormulaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "EN" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "English" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "NSAR97841" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "FORD" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "FORD FOCUS" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "KIT" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "Kit" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "KIT_KAT" appears 4 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "Chocolate" appears 4 times in the file. 177

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Menu.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Message.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Model.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 71

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/ModelId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/manytoonewithformula/ProductSqlServer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/mappedsuperclass/intermediate/AccountBase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/A.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/AddressEntry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 46
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 91
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 97

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/Person.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/naturalid/A.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/naturalid/ImmutableNaturalKeyLookupTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "xxxxxx" appears 6 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "query is not considered as isImmutableNaturalKeyLookup, despite fullfilling all conditions" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "delete from A" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "singleD" appears 8 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "ds" appears 2 times in the file. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension MultipleStringLiteralsExtended The String "delete from D" appears 4 times in the file. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "d" appears 4 times in the file. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 331

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/naturalid/NaturalIdOnSingleManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Puts" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Hits" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Misses" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Queries" appears 2 times in the file. 128

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/naturalid/NaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ile de France" appears 6 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "ssn" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 6 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "state" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Cache hits should be empty" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Hits" appears 9 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Misses" appears 9 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Puts" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Queries" appears 9 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Query execution count should be one" appears 2 times in the file. 274

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/Currency.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Box.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Child.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Forum.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 24
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 25
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Manufacturer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/OneToManyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension MultipleStringLiteralsExtended The String "First trainer" appears 2 times in the file. 145
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension MultipleStringLiteralsExtended The String "from " appears 2 times in the file. 271
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension MultipleStringLiteralsExtended The String "Disney" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "Mickey" appears 2 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "delete-orphan should work" appears 2 times in the file. 322
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Order.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/OrderByTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Supelec" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Warsaw ZOO" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "Antoniak" appears 2 times in the file. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension MultipleStringLiteralsExtended The String "zzzzz" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "aaaaa" appears 2 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "mmmmm" appears 2 times in the file. 334
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 343
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 351
 Warning extension MultipleStringLiteralsExtended The String "post1" appears 2 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "john" appears 2 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "post2" appears 2 times in the file. 408

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/OrderID.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/OrderItemID.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Organisation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/OrganisationUser.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Parent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/ParentPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10
 Warning extension LogicConditionNeedOptimization Condition with && at line 31 position 5 need optimization. All method calls are advised to move to end of logic expression. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/PoliticalParty.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Post.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Visitor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/Zoo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 28
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/ComputerPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Hibernatus" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "123456789" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Paris" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 230
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'JoinCounter' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 427
 Warning extension MultipleStringLiteralsExtended The String ".*" appears 3 times in the file. 430
 Warning extension MoveVariableInsideIf Variable 'numberOfJoins' can be moved inside the block at line '440' to restrict runtime creation. 439

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OptionalOneToOneMappedByTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 71

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OptionalOneToOnePKJCTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should have thrown IdentifierGenerationException." appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 127

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/SerialNumberPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/hhh4851/HHH4851Test.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 52
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 59

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/primarykey/NullablePrimaryKeyTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 26
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 40

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/override/AssociationOverrideSchemaTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/override/AssociationOverrideTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "Employee" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "tbl_empl_sites" appears 3 times in the file. 55
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 101

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/override/AttributeOverrideTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension MultipleStringLiteralsExtended The String "PropertyRecord_parcels" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "ASSESSMENT" appears 4 times in the file. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension MultipleStringLiteralsExtended The String "SQUARE_FEET" appears 4 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "STREET_NAME" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension MultipleStringLiteralsExtended The String "LegacyParcels" appears 3 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "PropertyRecord_unsortedParcels" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "PropertyRecord_legacyUnsortedParcels" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/override/ContactInfo.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/override/Entry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 22
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/persister/Card.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/persister/Deck.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/persister/PersisterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Incorrect Persister class for " appears 2 times in the file. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/polymorphism/PolymorphismTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SUV" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "350Z" appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/Attrset.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/Captain.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/Chaos.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/Employeegroup.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/Identity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "t" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "night.moreRecentThan" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "night.duration" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "duration" appears 2 times in the file. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 191
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 211
 Warning extension MultipleStringLiteralsExtended The String "X-Wing" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "YuBlue" appears 2 times in the file. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 322
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension MultipleStringLiteralsExtended The String "plane.byId" appears 2 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 3 times in the file. 400
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/quote/Phone.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/quote/QuoteGlobalTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 93

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/quote/QuoteTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/quote/Role.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/quote/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 25
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/House.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 23
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/Inhabitant.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 18
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 59

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ItemCost.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/Luggage.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 22

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/Postman.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/Rambler.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bob" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "First" appears 3 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "mine" appears 5 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "Neighbour" appears 4 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "his" appears 4 times in the file. 224
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 273

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/JPAOverriddenAnnotationReaderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/annotations/reflection/metadata-complete.xml" appears 5 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/annotations/reflection/orm.xml" appears 6 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "myschema" appears 5 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Proper @Table.uniqueConstraints" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "pk join column ignored" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "Java annotation not taken into account" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "Overriding not taken into account" appears 3 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "mycatalog" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "No deduplication" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "deduplication kept the Java version" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.timeout" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "competitor1Point" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "id" appears 5 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "Column mapping" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "@Table should not be used" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "Ignore Java annotation" appears 3 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "getId" appears 3 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "Default access type when not defined in metadata complete should be property" appears 2 times in the file. 311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/LogListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " with hashCode: " appears 2 times in the file. 19

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/OtherLogListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " with hashCode: " appears 2 times in the file. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/SocialSecurityNumber.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/XMLContextTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 57
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/subselect/SubselectTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "widget" appears 2 times in the file. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/tableperclass/T800.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/tableperclass/TablePerClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AAFR" appears 2 times in the file. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/target/Brand.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/target/TargetTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "S" appears 3 times in the file. 64

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/tuplizer/DataProxyHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Id" appears 2 times in the file. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/tuplizer/DynamicInstantiator.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'resolvedEntityName' can be moved inside the block at line '40' to restrict runtime creation. 39
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/tuplizer/TuplizerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Francaise" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "France" appears 2 times in the file. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/type/MyOid.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/type/MyOidType.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 19
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 22
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 26
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 30
 Warning extension MultipleStringLiteralsExtended The String "Unsupported property index " appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/type/TypeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintValidationTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 24
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/various/Antenna.java

Severity Category Rule Message Line
 Warning extension RequiredParameterForAnnotation The annotation Generated is missing required parameters value. 16
 Warning extension RequiredParameterForAnnotation The annotation Generated is missing required parameters value. 19
 Warning extension RequiredParameterForAnnotation The annotation Generated is missing required parameters value. 22

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/various/IndexTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/various/readwriteexpression/ColumnTransformerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select size_in_cm from t_staff where t_staff.id=1" appears 2 times in the file. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/various/readwriteexpression/Staff.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlElementCollectionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 33 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MultipleStringLiteralsExtended The String "int" appears 10 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "col1" appears 12 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension MultipleStringLiteralsExtended The String "table1" appears 7 times in the file. 270
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 317
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension MultipleStringLiteralsExtended The String "col2" appears 4 times in the file. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 483
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension MultipleStringLiteralsExtended The String "association1" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "catalog1" appears 2 times in the file. 556
 Warning extension MultipleStringLiteralsExtended The String "schema1" appears 2 times in the file. 558
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 568
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 569
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 570
 Warning extension MultipleStringLiteralsExtended The String "table2" appears 2 times in the file. 573
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 575
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 576
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 589
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 590
 Warning extension MultipleStringLiteralsExtended The String "col3" appears 2 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "col4" appears 2 times in the file. 592
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 595
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 597
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 598
 Warning extension MultipleStringLiteralsExtended The String "col5" appears 2 times in the file. 606
 Warning extension MultipleStringLiteralsExtended The String "uq1" appears 2 times in the file. 607
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 622
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 625
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 630
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 631
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 632
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 633
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 666
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 667
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 668
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 669
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 675
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 676
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 677

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 23 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "int" appears 6 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "col1" appears 7 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 143
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension MultipleStringLiteralsExtended The String "table1" appears 4 times in the file. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension MultipleStringLiteralsExtended The String "col2" appears 2 times in the file. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 414
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 423
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 431
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 432
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 9 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "col1" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "col2" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "table1" appears 3 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "int" appears 3 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlOneToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 25 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "int" appears 7 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "col1" appears 9 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension MultipleStringLiteralsExtended The String "table1" appears 6 times in the file. 262
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension MultipleStringLiteralsExtended The String "col2" appears 4 times in the file. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 414
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 560

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Ejb3XmlOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 11 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "col1" appears 5 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "col2" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "int" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "table1" appears 3 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/Manufacturer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/ejb3/NonExistentOrmVersionTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/BImpl.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BImpl' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/HbmTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Liberals" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Murray" appears 2 times in the file. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 93
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 101

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/Sky.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ast/ASTIteratorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 67
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 88

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ast/ASTUtilTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 56
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 77
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/batch/BatchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint dp order by dp.x asc" appears 2 times in the file. 112

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/batch/BatchingBatchFailureTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ok" appears 5 times in the file. 76
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 90
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/batch/NonBatchingBatchFailureTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ok" appears 2 times in the file. 75
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "OSS" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Hibernate" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "from ProductLine pl order by pl.description" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bidi/AuctionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bidi/AuctionTest2.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/BeanReflectionHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someString" appears 2 times in the file. 23
 Warning extension MultipleStringLiteralsExtended The String "someLong" appears 2 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "someInteger" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "someDate" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "somelong" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "someint" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "someObject" appears 2 times in the file. 59

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/CompositeOwnerTrackerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String ".country" appears 3 times in the file. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102
 Warning extension MultipleStringLiteralsExtended The String "/tmp" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "SimpleEntity" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "getId" appears 3 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "setId" appears 2 times in the file. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "$$_hibernate_hasDirtyAttributes" appears 4 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "isActive" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "setActive" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "getSomeNumber" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "setSomeNumber" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "$$_hibernate_clearDirtyAttributes" appears 4 times in the file. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension MultipleStringLiteralsExtended The String "someStrings" appears 2 times in the file. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension MultipleStringLiteralsExtended The String "setAddress" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "]" appears 18 times in the file. 315

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/SampleEntity.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension OverridableMethodInConstructor Overridable method 'setZip' is called in constructor body. 48
 Warning extension OverridableMethodInConstructor Overridable method 'setPhone' is called in constructor body. 49
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 53

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/Customer.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 227 position 16 need optimization. All method calls are advised to move to end of logic expression. 227

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerEnhancerTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension MultipleStringLiteralsExtended The String "/tmp" appears 4 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "getId" appears 3 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "setId" appears 2 times in the file. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension MultipleStringLiteralsExtended The String "$$_hibernate_clearDirtyAttributes" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "setAddress" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "]" appears 18 times in the file. 276

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerInventory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerInventoryPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/bytecode/javassist/InvocationTargetExceptionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cache/InsertedDataTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data" appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "item" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "delete CacheableItem" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "new data" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "it should be null" appears 2 times in the file. 192

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cache/ReferenceCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "The two instances were different references" appears 2 times in the file. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/CachedItem1.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CachedItem1' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/CachedItem2.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CachedItem2' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/PolymorphicCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "updated" appears 2 times in the file. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cascade/MultiPathCascadeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Anna" appears 7 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "should have thrown TransientObjectException" appears 3 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "Alice" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "Anthony" appears 2 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "Giovanni" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "Hellen" appears 2 times in the file. 312

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cascade/RefreshTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 95

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cascade/circle/CascadeMergeToChildBeforeParentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "routeA" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "sfnaouisrbn" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "tourB" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "pickupNodeB" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "deliveryNodeB" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "pickup node aaaaaaaaaaa" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "delivery node aaaaaaaaa" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "vehicleB" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "aaaaaaaaaaaaaa" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "anewvalue" appears 2 times in the file. 189

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cascade/circle/MultiPathCircleCascadeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should have thrown an exception" appears 3 times in the file. 138
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 140
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 181
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 220
 Warning extension MultipleStringLiteralsExtended The String "pickupNodeB" appears 4 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "deliveryNodeB" appears 4 times in the file. 345
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 432
 Warning extension MultipleStringLiteralsExtended The String "routeA" appears 2 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "new routeA" appears 2 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String "sfnaouisrbn" appears 2 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "tourB" appears 3 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String "transportB" appears 2 times in the file. 478
 Warning extension MultipleStringLiteralsExtended The String "aaaaaaaaaaaaaa" appears 2 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "node original value" appears 2 times in the file. 546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 555
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 568
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 677
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 680
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 684

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cascade/circle/Node.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 125

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/CacheableFileTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/WrongCircularityDetectionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/cache/SubClass.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/Gate.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java

Severity Category Rule Message Line
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 481
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 586

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/PersisterClassProviderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The entity persister should be overridden" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "The collection persister should be overridden but not the entity persister" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "The entity persisters should be overridden in a class hierarchy" appears 2 times in the file. 108

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/Portal.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/Tree.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cfg/persister/Window.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cid/CompositeIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "count(" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 115
 Warning extension MultipleStringLiteralsExtended The String "delete from Order" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "delete from Customer" appears 4 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "A123" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "nipple ring" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "X525" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "nose stud" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "St Kilda Rd, MEL, 3000" appears 3 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Virginia" appears 3 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "C111" appears 6 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "from Customer c left join fetch c.orders o left join fetch o.lineItems li left join fetch li.product p" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "from Order o left join fetch o.lineItems li left join fetch li.product p" appears 2 times in the file. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension MultipleStringLiteralsExtended The String "delete from LineItem" appears 3 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "delete from Product" appears 3 times in the file. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cid/CompositeIdWithGeneratorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 432
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cid/LineItem.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 64 position 43 need optimization. All method calls are advised to move to end of logic expression. 64

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cid/Order.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 53 position 51 need optimization. All method calls are advised to move to end of logic expression. 53

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cid/PurchaseRecord.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 74 position 58 need optimization. All method calls are advised to move to end of logic expression. 74
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Widget" appears 18 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Widge" appears 15 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "part if a Widget" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Top" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Get" appears 15 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "another part if a Widget" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Bottom" appears 8 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/MapKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/Part.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 26

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/bag/PersistentBagTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/basic/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 23
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 68

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/basic/EmailAddress.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/basic/JoinFetchElementCollectionTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension MultipleStringLiteralsExtended The String "test1@test.com" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test2@test.com" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "test3@test.com" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "john" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "SELECT user " appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "FROM User user " appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/basic/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 54

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/custom/basic/User.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/custom/basic/UserCollectionTypeTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/custom/parameterized/ParameterizedUserCollectionTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tester" appears 2 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/idbag/PersistentIdBagTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/lazynocascade/Parent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/list/Order.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/list/PersistentListTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "root" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "NAME" appears 2 times in the file. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "def" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "ghi" appears 2 times in the file. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/map/PersistentMapTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 220

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/map/hhh7557/MapKey.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 93

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/ordered/joinedInheritence/OrderCollectionOfJoinedHierarchyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/ordered/joinedInheritence/Zoo.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 99
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 106

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/original/CollectionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "obnoxiousness" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "pigheadedness" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "foo value" appears 5 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "silliness" appears 3 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "bar value" appears 3 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "gavin@hibernate.org" appears 4 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "gavin.king@jboss.com" appears 4 times in the file. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "gavin@nospam.com" appears 2 times in the file. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension MultipleStringLiteralsExtended The String "new foo value" appears 2 times in the file. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/original/Email.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/original/Permission.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collection/set/PersistentSetTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 10 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 11 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 4 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String ".children" appears 2 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension MultipleStringLiteralsExtended The String ".contents" appears 2 times in the file. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension MultipleStringLiteralsExtended The String "from Child where name = 'c1'" appears 3 times in the file. 351
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collectionalias/ATable.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collectionalias/CollectionAliasTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collectionalias/TableB.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/collectionalias/TableBId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/common/BasicTestingJdbcServiceImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 100
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 104
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 150

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/common/TransactionEnvironmentImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/component/basic/ComponentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dob" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 5 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "secret" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Karbarook Ave" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Phipps Place" appears 3 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "$ecret" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 5 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "hibernater" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "Steve Ebersole" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "Main St" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "from Employee e where e.person = ('steve', current_timestamp)" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "March 25, 1974" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "select height_centimeters from T_USER where T_USER.username='steve'" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "emp-value1" appears 2 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "emp-value2" appears 2 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "emp1-value1" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "emp1-value2" appears 2 times in the file. 378

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/component/basic2/Component.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/component/basic2/Name.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/component/basic2/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/component/cascading/collection/CascadeToComponentCollectionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "en_US" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "es" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "hola" appears 2 times in the file. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/compositeelement/CompositeElementTest.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'f' can be moved inside the block at line '60' to restrict runtime creation. 57
 Warning extension MultipleStringLiteralsExtended The String "Child One" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Parent" appears 3 times in the file. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 121
 Warning extension MultipleStringLiteralsExtended The String "select child_position from ParentChild c where c.name='Child One'" appears 2 times in the file. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 139

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/connections/AggressiveReleaseTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "silly" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Silly" appears 5 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "from Silly where name = 'silly'" appears 2 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension MultipleStringLiteralsExtended The String "new-" appears 2 times in the file. 235

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/connections/ConnectionManagementTestCase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "from Silly" appears 5 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "nameIsNull" appears 10 times in the file. 172
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 290
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 296
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 298
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 301
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 307
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 310
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 335
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 342
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 349
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 356

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/connections/HibernateCreateBlobFailedCase.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/connections/Silly.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/connections/SuppliedConnectionTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 67
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 135
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 152

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/constraint/ConstraintTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "explicit" appears 2 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/Address.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/ComplexJoinAliasTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "isDeleted" appears 2 times in the file. 112

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/CourseMeetingId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/CriteriaQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "description" appears 10 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Hibernate%" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "%ORM%" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "HIB" appears 15 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "Hibernate Training" appears 16 times in the file. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 23 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "studentNumber" appears 40 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "name" appears 20 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "st" appears 16 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "st.studentNumber" appears 5 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "e" appears 6 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "enrolments" appears 5 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "course" appears 18 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "st.name" appears 3 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "stname" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "Odessa" appears 15 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "WA" appears 15 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "cityState" appears 27 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "should have failed because cannot compare subquery results with multiple columns" appears 5 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "st.cityState" appears 8 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "Max Rydahl Andersen" appears 8 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "student" appears 14 times in the file. 493
 Warning extension MultipleStringLiteralsExtended The String "s" appears 3 times in the file. 493
 Warning extension MultipleStringLiteralsExtended The String "c" appears 5 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "s.enrolments" appears 3 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "s.name" appears 3 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "c.description" appears 5 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "courseCode" appears 9 times in the file. 615
 Warning extension MultipleStringLiteralsExtended The String "stNumber" appears 15 times in the file. 637
 Warning extension MultipleStringLiteralsExtended The String "cCode" appears 6 times in the file. 638
 Warning extension MultipleStringLiteralsExtended The String "co" appears 7 times in the file. 668
 Warning extension MultipleStringLiteralsExtended The String "studentName" appears 4 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "co.description" appears 2 times in the file. 671
 Warning extension MultipleStringLiteralsExtended The String "courseDescription" appears 2 times in the file. 671
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 2 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "year" appears 11 times in the file. 687
 Warning extension MultipleStringLiteralsExtended The String "semester" appears 5 times in the file. 688
 Warning extension MultipleStringLiteralsExtended The String "this.name" appears 2 times in the file. 692
 Warning extension MultipleStringLiteralsExtended The String "e.year" appears 2 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "e.semester" appears 2 times in the file. 694
 Warning extension MultipleStringLiteralsExtended The String "c.courseCode" appears 2 times in the file. 695
 Warning extension MultipleStringLiteralsExtended The String "1 as constOne, count(*) as countStar" appears 2 times in the file. 709
 Warning extension MultipleStringLiteralsExtended The String "constOne" appears 2 times in the file. 710
 Warning extension MultipleStringLiteralsExtended The String "countStar" appears 2 times in the file. 710
 Warning extension MultipleStringLiteralsExtended The String "co.courseCode" appears 5 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "Monday" appears 4 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "1313 Mockingbird Lane" appears 4 times in the file. 755
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 805
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 806
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 807
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 808
 Warning extension MultipleStringLiteralsExtended The String "preferredCourse" appears 14 times in the file. 816
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 823
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 824
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 826
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 827
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 857
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 858
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 859
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 860
 Warning extension MultipleStringLiteralsExtended The String "id" appears 6 times in the file. 941
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1088
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1096
 Warning extension MultipleStringLiteralsExtended The String "cityState.city" appears 2 times in the file. 1101
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1114
 Warning extension MultipleStringLiteralsExtended The String "expected SQLGrammarException" appears 3 times in the file. 1119
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1258
 Warning extension MultipleStringLiteralsExtended The String "offspring" appears 2 times in the file. 1287
 Warning extension MultipleStringLiteralsExtended The String "m" appears 3 times in the file. 1305
 Warning extension MultipleStringLiteralsExtended The String "m.class" appears 3 times in the file. 1306
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 1328
 Warning extension MultipleStringLiteralsExtended The String "myFoo" appears 2 times in the file. 1329
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1428
 Warning extension MultipleStringLiteralsExtended The String "Gaith Bell" appears 2 times in the file. 1477
 Warning extension MultipleStringLiteralsExtended The String "Chicago" appears 2 times in the file. 1479
 Warning extension MultipleStringLiteralsExtended The String "Illinois" appears 2 times in the file. 1479
 Warning extension MultipleStringLiteralsExtended The String "HIB-A" appears 8 times in the file. 1564
 Warning extension MultipleStringLiteralsExtended The String "Hibernate Training A" appears 2 times in the file. 1565
 Warning extension MultipleStringLiteralsExtended The String "HIB-B" appears 6 times in the file. 1569
 Warning extension MultipleStringLiteralsExtended The String "Hibernate Training B" appears 2 times in the file. 1570
 Warning extension MultipleStringLiteralsExtended The String "Leonardo Quijano" appears 2 times in the file. 1580
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 2 times in the file. 1586
 Warning extension MultipleStringLiteralsExtended The String "pc" appears 4 times in the file. 1621
 Warning extension MultipleStringLiteralsExtended The String "pc.courseCode" appears 10 times in the file. 1622
 Warning extension MultipleStringLiteralsExtended The String "CS101" appears 2 times in the file. 1743
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 3 times in the file. 1771
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 6 times in the file. 1795
 Warning extension MultipleStringLiteralsExtended The String "height" appears 6 times in the file. 1796
 Warning extension MultipleStringLiteralsExtended The String "NY" appears 2 times in the file. 1859
 Warning extension MultipleStringLiteralsExtended The String "HOME" appears 2 times in the file. 1861
 Warning extension MultipleStringLiteralsExtended The String "MA" appears 2 times in the file. 1866
 Warning extension MultipleStringLiteralsExtended The String "United Kingdom" appears 2 times in the file. 1972
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1999
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2003

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/Enrolment.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/LikeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension MultipleStringLiteralsExtended The String "XyZ " appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/LongInElementsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "100089" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "beijing" appears 2 times in the file. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/Order.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/OrderAddress.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String " - " appears 2 times in the file. 58

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/OrderContact.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/OuterJoinCriteriaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "orderLines" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "articleId" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "3000" appears 21 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "unknown order" appears 8 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "o" appears 6 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "ol" appears 9 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "1000" appears 8 times in the file. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension MultipleStringLiteralsExtended The String "ol.articleId" appears 8 times in the file. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension MultipleStringLiteralsExtended The String "order" appears 8 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "order.orderLines" appears 6 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "line" appears 6 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "line.articleId" appears 6 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "order.orderContacts" appears 8 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "contact" appears 8 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "contact.contact" appears 8 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "Contact1" appears 13 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "order.orderAddress" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "orderAddress" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "orderAddress.notifiedAddresses" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "notifiedAddress" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "notifiedAddress.addressText" appears 2 times in the file. 538
 Warning extension MultipleStringLiteralsExtended The String "over the rainbow" appears 3 times in the file. 538

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/StudentDTO.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 17
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 19
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criteria/VersionedRecord.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/criterion/CriterionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "create-drop" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 69

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cuk/Account.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cuk/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cuk/CompositePropertyRefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Max" appears 2 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension LogicConditionNeedOptimization Condition with || at line 115 position 41 need optimization. All method calls are advised to move to end of logic expression. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cuk/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cut/CompositeUserTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "USD" appears 2 times in the file. 57
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 87
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 88

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/cut/MonetoryAmount.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/deletetransient/DeleteTransientEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123 Main St." appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Address" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "delete not cascaded properly across transient entity" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Suite" appears 2 times in the file. 164

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/function/AnsiTrimEmulationFunctionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ",' ','-'),'${space}$',' ')" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "LEADING" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "'-'" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "FROM" appears 15 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "ltrim(" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "TRAILING" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "rtrim(" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "BOTH" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "ltrim(rtrim(" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "))" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "ltrim(rtrim(a.column))" appears 4 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "' '" appears 3 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "ltrim(a.column)" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "rtrim(a.column)" appears 2 times in the file. 133

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/Category.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/Folder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/Product2.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ALTER DATABASE " appears 6 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String " set single_user with rollback immediate" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String " set multi_user" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Kit" appears 6 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "select id from Product2 where description like 'Kit%' order by id" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "from Product2 order by id" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "Kit30" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "c.id" appears 2 times in the file. 252
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 363

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/functional/cache/SQLFunctionsInterSystemsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 134
 Warning extension MultipleStringLiteralsExtended The String "Simple 1" appears 18 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name=?" appears 4 times in the file. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name=:name" appears 3 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension MultipleStringLiteralsExtended The String "Simple 2" appears 6 times in the file. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension MultipleStringLiteralsExtended The String "from Simple s" appears 8 times in the file. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension MultipleStringLiteralsExtended The String "SIMPLE 1" appears 2 times in the file. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 464
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 479
 Warning extension MultipleStringLiteralsExtended The String "foo/bar/baz" appears 2 times in the file. 498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 568
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 632
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 665
 Warning extension MultipleStringLiteralsExtended The String "1977-07-03" appears 2 times in the file. 697
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 707
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 709
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 713
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 717
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 722
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 726
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 730
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 735
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 739
 Warning extension MultipleStringLiteralsExtended The String "00:00:00" appears 2 times in the file. 739
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 744
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 754
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 759
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 764

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/unit/lockhint/AbstractLockHintTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "$HOLDER$" appears 2 times in the file. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/unit/lockhint/SQLServerLockHintsTest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/unit/lockhint/SybaseASE15LockHintsTest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dialect/unit/lockhint/SybaseLockHintsTest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dirtiness/CustomDirtinessStrategyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dirtiness/Thing.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/discriminator/DiscriminatorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mark" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 2 times in the file. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "grand poobah" appears 3 times in the file. 130
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension MultipleStringLiteralsExtended The String "from Person where id = :id" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 216
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/discriminator/SimpleInheritanceTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Very demanding" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.discriminator.Person" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "who" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 4 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "grand poobah" appears 3 times in the file. 122
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.discriminator.Person where id = :id" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/DataProxyHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Id" appears 2 times in the file. 22

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/interceptor/InterceptorDynamicEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "should-be-proxy was initialized" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "name not updated" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "querying dynamic entity" appears 2 times in the file. 117

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer/MyEntityInstantiator.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'resolvedEntityName' can be moved inside the block at line '51' to restrict runtime creation. 50
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "should-be-proxy was initialized" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "name not updated" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "querying dynamic entity" appears 2 times in the file. 133

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer2/ImprovedTuplizerDynamicEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "should-be-proxy was initialized" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "name not updated" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "querying dynamic entity" appears 2 times in the file. 132

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer2/MyEntityInstantiator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ecid/Course.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ecid/EmbeddedCompositeIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mat2000" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Monash" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "second year maths" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "eng5000" appears 7 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "BHS" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "grade 5 english" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Grade 5 English" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Second year mathematics" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "EN-101" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "BA" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "description not merged" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/entitymode/map/basic/DynamicClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "description" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "productLine" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "models" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "from ProductLine pl order by pl.description" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/entityname/EntityNameFromSubClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stliu" appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/enums/EnumTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gender" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "hairColor" appears 2 times in the file. 58

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/enums/TestEnumTypeSerialization.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/enums/UnspecifiedEnumTypeEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/enums/UnspecifiedEnumTypeTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 94

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/AbstractCollectionEventTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 20 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "child" appears 13 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "new" appears 5 times in the file. 118
 Warning extension MoveVariableInsideIf Variable 'newChild' can be moved inside the block at line '351' to restrict runtime creation. 336
 Warning extension MultipleStringLiteralsExtended The String "otherParent" appears 5 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "otherChild" appears 4 times in the file. 547

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/BrokenCollectionEventTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 3 times in the file. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/ChildEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ChildEntity' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/AggregatedCollectionEventListener.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Alias.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/BadMergeHandlingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Usul" appears 2 times in the file. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Character.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/DetachedMultipleCollectionChangeTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/MergeCollectionEventTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 247

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/MultipleCollectionEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/MultipleCollectionListeners.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/eviction/EvictionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/exception/SQLExceptionConversionTest.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 76
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 173

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/extendshbm/ExtendsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.extendshbm.Customer" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.extendshbm.Person" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.extendshbm.Employee" appears 5 times in the file. 46
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 53
 Warning extension MultipleStringLiteralsExtended The String "extendshbm/Customer.hbm.xml" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "cannot be in the configuration yet!" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "extendshbm/Person.hbm.xml" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "extendshbm/Employee.hbm.xml" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "should not fail with exception! " appears 6 times in the file. 70
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 79
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 134
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 154
 Warning extension MultipleStringLiteralsExtended The String "EntityHasName" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "EntityCompany" appears 2 times in the file. 160
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 173
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 193

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/extralazy/ExtraLazyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 17 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "secret" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "HiA2" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "turin" appears 11 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "tiger" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "developers" appears 9 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 12 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "foo bar baz" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 9 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "foo bar baz 2" appears 4 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from User" appears 2 times in the file. 211

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/extralazy/Parent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/fetchprofiles/join/JoinFetchProfileTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "fetch profile not parsed properly" appears 3 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "enrollment.details" appears 7 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "offering.details" appears 4 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "course.details" appears 2 times in the file. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/fetchprofiles/join/selfReferencing/Employee.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/fileimport/SingleLineImportFileTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from " appears 2 times in the file. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/DynamicFilterTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 74
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "fulfilledOrders" appears 7 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "asOfDate" appears 20 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "id" appears 9 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "Filtered-collection not bypassing 2L-cache" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "regionlist" appears 9 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "regions" appears 8 times in the file. 170
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 170
 Warning extension MultipleStringLiteralsExtended The String "LA" appears 3 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "APAC" appears 24 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "select s from Salesperson as s" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Incorrect salesperson count" appears 6 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "Incorrect order count" appears 5 times in the file. 177
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 182
 Warning extension MultipleStringLiteralsExtended The String "select s from Salesperson as s left join fetch s.orders" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "region" appears 34 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "effectiveDate" appears 12 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "HQL against Product..." appears 2 times in the file. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 15 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "Incorrect department count" appears 4 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "Foobar" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "quantity" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "product" appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "Acme Hair Gel" appears 8 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "buyer" appears 5 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 9 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "Incorrect orders count" appears 8 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "query against Order with a subquery for line items with a subquery line items where the product name is Acme Hair Gel and the quantity is greater than 1 in a given region and the product is effective as of last month" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "query against Order with a subquery for line items with a subquery line items where the product name is Acme Hair Gel and the quantity is greater than 1 in a given region and the product is effective as of 4 months ago" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "select d from Department as d where d.id in (select s.department from Salesperson s where s.name = ?)" appears 2 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "select o from Order as o where exists (select li.id from LineItem li where li.quantity >= ? and li.product in (select p.id from Product p where p.name = ?)) and o.buyer = ?" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "gamma quadrant" appears 2 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "salesPersonName" appears 4 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "NA" appears 4 times in the file. 550
 Warning extension MultipleStringLiteralsExtended The String "john" appears 2 times in the file. 553
 Warning extension MultipleStringLiteralsExtended The String "delete from Salesperson" appears 2 times in the file. 562
 Warning extension MultipleStringLiteralsExtended The String "Starting one-to-many collection loader filter tests." appears 2 times in the file. 620
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 648
 Warning extension MultipleStringLiteralsExtended The String "load with join fetch of many-to-many did not trigger join fetch" appears 3 times in the file. 699
 Warning extension MultipleStringLiteralsExtended The String " ===> " appears 3 times in the file. 708
 Warning extension MultipleStringLiteralsExtended The String "load with join fetch of many-to-many did not trigger *complete* join fetch" appears 3 times in the file. 713
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 714
 Warning extension MultipleStringLiteralsExtended The String "Incorrect non-filtered collection count" appears 2 times in the file. 777
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 798
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 844
 Warning extension MultipleStringLiteralsExtended The String "EMEA" appears 2 times in the file. 895
 Warning extension MultipleStringLiteralsExtended The String "test cat 2" appears 2 times in the file. 909

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/hql/BasicFilteredBulkManipulationTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "sexCode" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "delete Person" appears 3 times in the file. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/hql/Customer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Customer' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/hql/Employee.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Employee' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "John" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "john" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Jane" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "jane" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Charlie" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "charlie" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Acme" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Wanda" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "wanda" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "sexCode" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "delete Person" appears 7 times in the file. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/filter/hql/User.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'User' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/flush/Author.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/flush/BookStore.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/flush/Publisher.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/flush/TestAutoFlushBeforeQueryExecution.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "autoflush entity create" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "from Publisher p" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "autoflush entity update" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Publisher p where p.name='name'" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "autoflush collection update" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "select a from Publisher p join p.authors a" appears 3 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "author2" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "autoflush delete" appears 2 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension MultipleStringLiteralsExtended The String "from UnrelatedEntity" appears 4 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/flush/TestCollectionInitializingDuringFlush.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/formulajoin/Detail.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/formulajoin/FormulaJoinTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "master 1" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/formulajoin/Master.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/generated/AbstractGeneratedPropertyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/generated/PartiallyGeneratedComponentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expecting insert value generation" appears 3 times in the file. 57
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 59

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/generatedkeys/identity/IdentityGeneratedKeysTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "identity column did not force immediate insert" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "test-persist" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "persist on identity column not delayed" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "delayed persist insert not executed on flush" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "delete MyChild" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "delete MyEntity" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test-persist-2" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "delete MySibling" appears 2 times in the file. 135

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingOrderByTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Zoo" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "1313 Mockingbird Lane" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Anywhere" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "1312 Mockingbird Lane" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "select z.name, z.address as name from Zoo z order by z.name, name" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "select z.name, z.address as name from Zoo z order by z.name ASC, name ASC" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "zname" appears 8 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "zaddress" appears 8 times in the file. 606
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 674
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 680
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 687
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 695

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "ZOO 1" appears 3 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "City 1" appears 6 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension MultipleStringLiteralsExtended The String "Illinois" appears 4 times in the file. 323
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 7 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "Ebersole" appears 10 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "Joe" appears 3 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "son" appears 3 times in the file. 410
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 497
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 509
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 511
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 574
 Warning extension MultipleStringLiteralsExtended The String "from java.lang.Object" appears 3 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String "delete Human" appears 2 times in the file. 695
 Warning extension MultipleStringLiteralsExtended The String "Me" appears 4 times in the file. 708
 Warning extension MultipleStringLiteralsExtended The String "Oney" appears 4 times in the file. 741
 Warning extension MultipleStringLiteralsExtended The String "big persion" appears 2 times in the file. 746
 Warning extension MultipleStringLiteralsExtended The String "illegal collection dereference semantic did not cause failure" appears 4 times in the file. 782
 Warning extension MultipleStringLiteralsExtended The String "expected failure..." appears 4 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "param" appears 6 times in the file. 830
 Warning extension MultipleStringLiteralsExtended The String "x" appears 4 times in the file. 834
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 834
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 852
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 852
 Warning extension MultipleStringLiteralsExtended The String "select e.heresAnotherCrazyIdFieldName from MoreCrazyIdFieldNameStuffEntity e" appears 2 times in the file. 889
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 892
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 892
 Warning extension MultipleStringLiteralsExtended The String "owner" appears 2 times in the file. 912
 Warning extension MultipleStringLiteralsExtended The String "thing one" appears 2 times in the file. 913
 Warning extension MultipleStringLiteralsExtended The String "thing two" appears 2 times in the file. 914
 Warning extension MultipleStringLiteralsExtended The String "implicit-join in select clause" appears 2 times in the file. 921
 Warning extension MultipleStringLiteralsExtended The String "select e.id, e.owner from SimpleAssociatedEntity e" appears 3 times in the file. 922
 Warning extension MultipleStringLiteralsExtended The String "My Product" appears 4 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "4321" appears 4 times in the file. 946
 Warning extension MultipleStringLiteralsExtended The String "123456789" appears 4 times in the file. 951
 Warning extension MultipleStringLiteralsExtended The String "My customer" appears 2 times in the file. 952
 Warning extension MultipleStringLiteralsExtended The String "somewhere" appears 2 times in the file. 953
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 3 times in the file. 965
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 972
 Warning extension MultipleStringLiteralsExtended The String "idList" appears 2 times in the file. 975
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 991
 Warning extension MultipleStringLiteralsExtended The String "Jane" appears 4 times in the file. 1094
 Warning extension MultipleStringLiteralsExtended The String "Doe" appears 11 times in the file. 1095
 Warning extension MultipleStringLiteralsExtended The String "Jane's description" appears 4 times in the file. 1097
 Warning extension MultipleStringLiteralsExtended The String "Jane's department" appears 4 times in the file. 1099
 Warning extension MultipleStringLiteralsExtended The String "John" appears 7 times in the file. 1104
 Warning extension MultipleStringLiteralsExtended The String "John's title" appears 4 times in the file. 1107
 Warning extension MultipleStringLiteralsExtended The String "from Zoo z join z.mammals as m where m.name.first = 'John'" appears 2 times in the file. 1273
 Warning extension MultipleStringLiteralsExtended The String "from Animal" appears 4 times in the file. 1300
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1333
 Warning extension MultipleStringLiteralsExtended The String "name" appears 9 times in the file. 1337
 Warning extension MultipleStringLiteralsExtended The String "oracle" appears 2 times in the file. 1369
 Warning extension MultipleStringLiteralsExtended The String ")" appears 6 times in the file. 1486
 Warning extension MultipleStringLiteralsExtended The String "select h.id, h.description" appears 2 times in the file. 1489
 Warning extension MultipleStringLiteralsExtended The String " from Human h" appears 2 times in the file. 1490
 Warning extension MultipleStringLiteralsExtended The String " select h1" appears 2 times in the file. 1493
 Warning extension MultipleStringLiteralsExtended The String " from Human h1" appears 2 times in the file. 1494
 Warning extension MultipleStringLiteralsExtended The String "from Foo where long = " appears 4 times in the file. 1641
 Warning extension MultipleStringLiteralsExtended The String "L" appears 2 times in the file. 1644
 Warning extension MultipleStringLiteralsExtended The String "select mother from Human a left join fetch a.mother mother" appears 2 times in the file. 1731
 Warning extension MultipleStringLiteralsExtended The String "invalid fetch semantic allowed!" appears 2 times in the file. 1732
 Warning extension MultipleStringLiteralsExtended The String "Melbourne Zoo" appears 3 times in the file. 1754
 Warning extension MultipleStringLiteralsExtended The String "Platypus" appears 11 times in the file. 1804
 Warning extension MultipleStringLiteralsExtended The String "plat123" appears 10 times in the file. 1806
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1833
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1836
 Warning extension MultipleStringLiteralsExtended The String "The Zoo" appears 4 times in the file. 1848
 Warning extension MultipleStringLiteralsExtended The String "select distinct a.zoo from Animal a where a.zoo is not null" appears 2 times in the file. 1862
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1864
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.hql.Zoo" appears 4 times in the file. 1865
 Warning extension MultipleStringLiteralsExtended The String "The Other Zoo" appears 2 times in the file. 1894
 Warning extension MultipleStringLiteralsExtended The String "Zebra" appears 4 times in the file. 1899
 Warning extension MultipleStringLiteralsExtended The String "zebra123" appears 4 times in the file. 1901
 Warning extension MultipleStringLiteralsExtended The String "Elephant" appears 4 times in the file. 1906
 Warning extension MultipleStringLiteralsExtended The String "elephant123" appears 4 times in the file. 1908
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1920
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1984
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2026
 Warning extension MultipleStringLiteralsExtended The String "Incorrect ordering" appears 2 times in the file. 2056
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 2102
 Warning extension MultipleStringLiteralsExtended The String "select size_mb from image" appears 2 times in the file. 2142
 Warning extension MultipleStringLiteralsExtended The String "an animal" appears 5 times in the file. 2176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2187
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2188
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 2314
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 2326
 Warning extension MultipleStringLiteralsExtended The String "bw" appears 2 times in the file. 2328
 Warning extension MultipleStringLiteralsExtended The String "Walrus" appears 2 times in the file. 2356
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2367
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2373
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 3 times in the file. 2392
 Warning extension MultipleStringLiteralsExtended The String "King" appears 3 times in the file. 2392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2507
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2514
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2517
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2520
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 2531
 Warning extension MultipleStringLiteralsExtended The String "Mammal #1" appears 5 times in the file. 2733
 Warning extension MultipleStringLiteralsExtended The String "Mammal #2" appears 4 times in the file. 2739
 Warning extension MultipleStringLiteralsExtended The String "Incorrect result size" appears 47 times in the file. 2797
 Warning extension MultipleStringLiteralsExtended The String "Incorrect result return type" appears 10 times in the file. 2798
 Warning extension MultipleStringLiteralsExtended The String "fetch uninitialized" appears 4 times in the file. 2862
 Warning extension MultipleStringLiteralsExtended The String "A Zebra" appears 3 times in the file. 2901
 Warning extension MultipleStringLiteralsExtended The String "A Zoo" appears 3 times in the file. 2903
 Warning extension MultipleStringLiteralsExtended The String "zebra" appears 4 times in the file. 2904
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2920
 Warning extension MultipleStringLiteralsExtended The String "Incorrect return type" appears 25 times in the file. 3000
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3018
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3019
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3020
 Warning extension MultipleStringLiteralsExtended The String "select new Animal(an.description, an.bodyWeight) from Animal an" appears 7 times in the file. 3035
 Warning extension MultipleStringLiteralsExtended The String "select new list(an.description, an.bodyWeight) from Animal an" appears 4 times in the file. 3043
 Warning extension MultipleStringLiteralsExtended The String "select new map(an.description, an.bodyWeight) from Animal an" appears 3 times in the file. 3065
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3069
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3070
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3076
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3077
 Warning extension MultipleStringLiteralsExtended The String "incorrect result size" appears 2 times in the file. 3102
 Warning extension MultipleStringLiteralsExtended The String "a mother" appears 2 times in the file. 3236
 Warning extension MultipleStringLiteralsExtended The String "offspring1" appears 2 times in the file. 3241
 Warning extension MultipleStringLiteralsExtended The String "offspring2" appears 2 times in the file. 3246
 Warning extension MultipleStringLiteralsExtended The String "'select new' together with a resulttransformer should result in error!" appears 3 times in the file. 3336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3338
 Warning extension MultipleStringLiteralsExtended The String "ResultTransformer" appears 3 times in the file. 3338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3345
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3352
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3378
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3396
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 3430
 Warning extension MultipleStringLiteralsExtended The String "an" appears 3 times in the file. 3432
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 3433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3437
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3459
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 3532
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 3552
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 3599

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no exception thrown" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "123t" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 6 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "delete from Vehicle" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "from BooleanLiteralEntity" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension MultipleStringLiteralsExtended The String "insert into Pickup (id, vin, owner) select id, vin, owner from Car" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "delete Vehicle" appears 5 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "from Vehicle" appears 4 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "NotKirsten" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "native-delete-car" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "Kirsten" appears 3 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "delete from SUV where owner = :owner" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "owner" appears 5 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "Joe" appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "bulk id generation not supported" appears 3 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "test bulk inserts with generated id and generated timestamp" appears 3 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "unexpected insertion count" appears 3 times in the file. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension MultipleStringLiteralsExtended The String "delete Zoo" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "int-vers" appears 3 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "initialId" appears 2 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "delete from Animal" appears 2 times in the file. 533
 Warning extension MultipleStringLiteralsExtended The String "where exists (" appears 3 times in the file. 574
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 578
 Warning extension MultipleStringLiteralsExtended The String "update SimpleEntityWithAssociation e " appears 2 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "set e.name = 'updated' " appears 2 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String " select a.id " appears 2 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "incorrect exec count" appears 2 times in the file. 644
 Warning extension MultipleStringLiteralsExtended The String "version not incremented" appears 2 times in the file. 649
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 669
 Warning extension MultipleStringLiteralsExtended The String "id" appears 5 times in the file. 710
 Warning extension MultipleStringLiteralsExtended The String "delete Human" appears 3 times in the file. 723
 Warning extension MultipleStringLiteralsExtended The String "Incorrect discrim subclass update count" appears 4 times in the file. 786
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 826
 Warning extension MultipleStringLiteralsExtended The String "Incorrect entity-updated count" appears 2 times in the file. 828
 Warning extension MultipleStringLiteralsExtended The String "Tadpole" appears 2 times in the file. 832
 Warning extension MultipleStringLiteralsExtended The String "incorrect update count against 'middle' of joined-subclass hierarchy" appears 3 times in the file. 866
 Warning extension MultipleStringLiteralsExtended The String "incorrect restricted update count" appears 5 times in the file. 893
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 897
 Warning extension MultipleStringLiteralsExtended The String "Incorrect discrim subclass delete count" appears 6 times in the file. 928
 Warning extension MultipleStringLiteralsExtended The String "delete Zoo where address.city is null" appears 2 times in the file. 929
 Warning extension MultipleStringLiteralsExtended The String "Incorrect deletion count on joined subclass" appears 6 times in the file. 952
 Warning extension MultipleStringLiteralsExtended The String "assoc-1" appears 2 times in the file. 969
 Warning extension MultipleStringLiteralsExtended The String "assoc-2" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "assoc-3" appears 2 times in the file. 971
 Warning extension MultipleStringLiteralsExtended The String "incorrect delete count" appears 2 times in the file. 988
 Warning extension MultipleStringLiteralsExtended The String "Incorrect delete count" appears 2 times in the file. 1017
 Warning extension MultipleStringLiteralsExtended The String "joined-name" appears 2 times in the file. 1091
 Warning extension MultipleStringLiteralsExtended The String "incorrect update count" appears 3 times in the file. 1113
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1227
 Warning extension MultipleStringLiteralsExtended The String "from Farm" appears 2 times in the file. 1229
 Warning extension MultipleStringLiteralsExtended The String "The join table was not cleared prior to the bulk delete." appears 2 times in the file. 1234
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1260
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from farm_accreditations" appears 2 times in the file. 1300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1331
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from human_nick_names" appears 2 times in the file. 1367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1368
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1398
 Warning extension MultipleStringLiteralsExtended The String "AU" appears 2 times in the file. 1467

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/CaseStatementTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "opt1" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "x" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "opt2" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "was expecting an exception" appears 2 times in the file. 90

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/ClassicTranslatorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jj" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "jr" appears 2 times in the file. 71

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Classification.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/CompositeIdEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Constructor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 118

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/CrazyCompositeKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/CriteriaClassicAggregationReturnTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Human h" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type count" appears 14 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type" appears 14 times in the file. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/CriteriaHQLAlignmentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Human h" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type count" appears 14 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type" appears 14 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "heightInches" appears 4 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "bigIntegerValue" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "John" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "Johnny" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "Doe" appears 3 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "nickName" appears 2 times in the file. 260
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 277
 Warning extension MultipleStringLiteralsExtended The String "expected SQLGrammarException" appears 4 times in the file. 280
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 299
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 301
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 335
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 357

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Department.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/EJBQLTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "sql: " appears 24 times in the file. 152

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension OverridableMethodInConstructor Overridable method 'setId' is called in constructor body. 62
 Warning extension OverridableMethodInConstructor Overridable method 'setLastName' is called in constructor body. 63
 Warning extension OverridableMethodInConstructor Overridable method 'setTitle' is called in constructor body. 67
 Warning extension OverridableMethodInConstructor Overridable method 'setDepartment' is called in constructor body. 68
 Warning extension OverridableMethodInConstructor Overridable method 'setFirstName' is called in constructor body. 69

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/FunctionNameAsColumnTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " abc " appears 8 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String " xyz " appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "where h.nextHolder is not null" appears 2 times in the file. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "nextHolder" appears 4 times in the file. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension MultipleStringLiteralsExtended The String "current_date" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "current_date reuires ()" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "tests noarg function that does not require ()" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "blah blah blah" appears 5 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "yadda yadda yadda" appears 5 times in the file. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/HQLTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from LineItem l where l.id in (?)" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "'in' should be translated to 'and'" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "from LineItem l where l.id in ?" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "from LineItem l where l.id in (('a1',1,'b1'),('a2',2,'b2'))" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "from Animal a where a.id in (?)" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "only translated tuple has 'in' syntax" appears 4 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "from Animal a where a.id in ?" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "from LineItem l where l.id in (select a1 from Animal a1 left join a1.offspring o where a1.id = 1)" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "do not translate sub-queries" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String " 'in' should be kept, since the dialect supports this syntax" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type count" appears 4 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "incorrect return type" appears 4 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "incorrect expected param type" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "empty aliases" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "from Outer o where o.id.master.id.sup.dudu is not null" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "from Animal an where (an.bodyWeight > 10 and an.bodyWeight < 100) or an.bodyWeight is null" appears 2 times in the file. 688
 Warning extension MultipleStringLiteralsExtended The String "Wrong exception type!" appears 11 times in the file. 712
 Warning extension MultipleStringLiteralsExtended The String "from Mammal m where m.pregnant = false and m.bodyWeight > 10" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "from Human h1, Human h2 where 'father' in indices(h1.family)" appears 2 times in the file. 1107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1364
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1371
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 1382

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/HqlParserTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from eg.Cat as cat" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "from eg.Cat cat" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "from Order ord where ord.items[0].id = 1234" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "select item from Item item, Order ord\n" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "select cat.color, sum(cat.weight), count(cat)\n" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "select ord.id, sum(price.amount), count(item)\n" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "order by sum(price.amount) desc" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "select count(payment), status.name \n" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String " join payment.currentStatus as status\n" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "where payment.status.name <> PaymentStatus.AWAITING_APPROVAL\n" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "group by status.name, status.sortOrder\n" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "order by status.sortOrder" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "select account, payment\n" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "from Account as account\n" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String " left outer join account.payments as payment\n" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String " and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, PaymentStatus.UNPAID)\n" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "order by account.type.sortOrder, account.accountNumber, payment.dueDate" appears 2 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "select round(s.pay, 2) from s" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Foo" appears 2 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.MoreStuff" appears 4 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Many" appears 4 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Fee" appears 4 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Qux" appears 4 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Y" appears 3 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Fumm" appears 4 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.X" appears 3 times in the file. 412
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Simple" appears 4 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Location" appears 3 times in the file. 414
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Holder" appears 4 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Part" appears 4 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Baz" appears 5 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Vetoer" appears 4 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Sortable" appears 4 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Contained" appears 4 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Stuff" appears 4 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Immutable" appears 4 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Container" appears 4 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.X$XX" appears 3 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.One" appears 6 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Foo" appears 5 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Fo" appears 4 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Glarch" appears 4 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "from o in class org.hibernate.test.Fum" appears 4 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "from n in class org.hibernate.test.Holder" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "from n in class org.hibernate.test.Baz" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "from n in class org.hibernate.test.Bar" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "from n in class org.hibernate.test.Glarch" appears 2 times in the file. 433
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Holder" appears 2 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Fee" appears 3 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Glarch" appears 2 times in the file. 531
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Foo foo" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "from foo in class org.hibernate.test.Foo" appears 4 times in the file. 556
 Warning extension MultipleStringLiteralsExtended The String "from fee in class org.hibernate.test.Fee" appears 2 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "select elements(baz.fooArray) from baz in class org.hibernate.test.Baz where baz.id=?" appears 2 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "select elements(baz.stringArray) from baz in class org.hibernate.test.Baz" appears 2 times in the file. 592
 Warning extension MultipleStringLiteralsExtended The String "from g in class org.hibernate.test.Glarch" appears 2 times in the file. 597
 Warning extension MultipleStringLiteralsExtended The String "from f in class org.hibernate.test.Foo" appears 2 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "from q in class org.hibernate.test.Qux" appears 2 times in the file. 604
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Bar bar where bar.object.id = ? and bar.object.class = ?" appears 2 times in the file. 661
 Warning extension MultipleStringLiteralsExtended The String "select fum.id from fum in class org.hibernate.test.Fum where not fum.fum='FRIEND'" appears 2 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 699
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Simple" appears 2 times in the file. 726
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Part" appears 2 times in the file. 728
 Warning extension MultipleStringLiteralsExtended The String "from s in class org.hibernate.test.Simple" appears 2 times in the file. 753
 Warning extension MultipleStringLiteralsExtended The String "from b in class org.hibernate.test.B" appears 2 times in the file. 781
 Warning extension MultipleStringLiteralsExtended The String "select max(s.count) from s in class org.hibernate.test.Simple" appears 2 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String "select all s, s.other from s in class org.hibernate.test.Simple where s = :s" appears 2 times in the file. 816
 Warning extension MultipleStringLiteralsExtended The String "from org.hibernate.test.Simple s" appears 2 times in the file. 818
 Warning extension MultipleStringLiteralsExtended The String "from s in class org.hibernate.test.Top" appears 2 times in the file. 855
 Warning extension MultipleStringLiteralsExtended The String "SELECT m FROM m IN CLASS org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5" appears 2 times in the file. 917
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1025
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1049
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1057
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1089
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1090

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Mammal.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Panel.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/ParameterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "class" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "OBJECT" appears 4 times in the file. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/QueryTranslatorTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "] = " appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 267
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 285
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 293

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Animal a left join fetch a.offspring where a.description like :desc order by a.id" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 7 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "root%" appears 7 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "root-1" appears 3 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "daughter" appears 2 times in the file. 150
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension MultipleStringLiteralsExtended The String "delete Animal where not description like 'root%'" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "delete Animal" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "unexpected result count" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "root-2" appears 2 times in the file. 366

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/SimpleAssociatedEntity.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'bindToOwner' is called in constructor body. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/SubQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "leaf1" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "from Root as r " appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "where r.branch.branchName = 'branch' " appears 2 times in the file. 131

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/Title.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/TrtPanel.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " SQL : " appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 2 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hql/WithClauseTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someLimit" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "failure expected" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "ad-hoc on did not take effect" appears 4 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "entity1" appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "associatedEntity1" appears 2 times in the file. 156

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " order by p.name asc" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "unexpected parent found." appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "unexpected type of entity." appears 2 times in the file. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension MultipleStringLiteralsExtended The String "parent0" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String " order by c.name desc" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "should have failed because data is ordered incorrectly." appears 2 times in the file. 258

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/id/MultipleHiLoPerTableGeneratorTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension MultipleStringLiteralsExtended The String "32 MHz" appears 2 times in the file. 109

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/id/Person.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/id/SQLServer2012SequenceGeneratorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/id/SequenceGeneratorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idbag/IdBagTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "admins" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "plebs" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "banned" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idclass/Customer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Customer' does not extend anything. 16
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idclass/CustomerId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'CustomerId' does not extend anything. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idclass/IdClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "RouteOne" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Detroit" appears 4 times in the file. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idprops/IdentifierPropertyReferencesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "my-product" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "456" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Person by id prop (non-identifier)" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Person by pk prop (identifier)" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Order by number prop (named identifier)" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Order by id prop (virtual identifier)" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "LineItem by id prop (non-identifier" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "pk" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "orderee" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "p" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "p.id" appears 2 times in the file. 159

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/idprops/LineItemPK.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/Contract.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Contract' does not extend anything. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/ContractVariation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 38
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'ContractVariation' does not extend anything. 39
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/ImmutableTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 55 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "phone" appears 28 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "expensive" appears 55 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "more expensive" appears 55 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 397
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 4 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "blah blah" appears 4 times in the file. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 497
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 507
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 541
 Warning extension MultipleStringLiteralsExtended The String "Sherman" appears 3 times in the file. 542
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 557
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 558
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 560
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 561
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 562
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 572
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 580
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 614
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 622
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 657
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 665
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 666
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 763
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 765
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 768
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 771
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 772
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 822
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 823
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 824
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 826
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 827
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 828
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 931
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 932
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 936
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 937
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 986
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 987
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 991
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 992
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1042
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1043
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1047
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1048
 Warning extension MultipleStringLiteralsExtended The String "cv1 info" appears 6 times in the file. 1151
 Warning extension MultipleStringLiteralsExtended The String "new cv1 info" appears 4 times in the file. 1255
 Warning extension MultipleStringLiteralsExtended The String "party1" appears 4 times in the file. 1409

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/Info.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Info' does not extend anything. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/Party.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Party' does not extend anything. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/Plan.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/AbstractEntityWithManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "plan" appears 19 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "gail" appears 34 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "phone" appears 19 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "new plan" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "yogi" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "sherman" appears 3 times in the file. 374
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 875
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 877
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 880
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 933
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 935
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 939
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 941
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 997
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1079

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/AbstractEntityWithOneToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "contract" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "gail" appears 20 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "phone" appears 22 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "party" appears 34 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "new party" appears 6 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "david" appears 2 times in the file. 597
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1126
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1188

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/Contract.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Contract' does not extend anything. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/ContractVariation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'ContractVariation' does not extend anything. 62
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 65

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/Info.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Info' does not extend anything. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/Owner.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Owner' does not extend anything. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/Party.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Party' does not extend anything. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/Plan.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/InheritingEntity.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestCustomColumnReadAndWrite.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "sizeKb" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestDirtyCheckExecutable.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 32
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestFetchAllExecutable.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "blah" appears 2 times in the file. 23
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestIsPropertyInitializedExecutable.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 30
 Warning extension MultipleStringLiteralsExtended The String "summary" appears 2 times in the file. 30
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestLazyExecutable.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "blah blah" appears 7 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension MultipleStringLiteralsExtended The String "weirdProperty" appears 4 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "text" appears 13 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "upperCaseName" appears 4 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "folder" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "owner" appears 3 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "from Document" appears 10 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "summary" appears 3 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "HiA" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "HiA second edition" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension MultipleStringLiteralsExtended The String "HiA2" appears 2 times in the file. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "blah blah blah blah" appears 2 times in the file. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestLazyManyToOneExecutable.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestLazyPropertyCustomTypeExecutable.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "from Problematic" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestManyToOneProxyExecutable.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension MultipleStringLiteralsExtended The String "sibling" appears 6 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/cases/TestSharedPKOneToOneExecutable.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "oneToOneProxy" appears 3 times in the file. 25
 Warning extension MultipleStringLiteralsExtended The String "oneToOneNoProxy" appears 5 times in the file. 28
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Folder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Problematic.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/instrument/runtime/AbstractTransformingClassLoaderInstrumentTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.instrument.domain" appears 2 times in the file. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 139
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 140
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149
 Warning extension MultipleStringLiteralsExtended The String "could not exeucte executable" appears 3 times in the file. 157
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 163
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 169

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/interceptor/InterceptorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "nivag" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "vagni" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Josh" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 281
 Warning extension MultipleStringLiteralsExtended The String "select" appears 5 times in the file. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 2 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "Kinga" appears 2 times in the file. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 334

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/interceptor/Log.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Log' does not extend anything. 13
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Log' does not extend anything. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/interceptor/User.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'User' does not extend anything. 16
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'User' does not extend anything. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/interfaceproxy/DocumentInterceptor.java

Severity Category Rule Message Line
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 61
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/interfaceproxy/InterfaceProxyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Hibernate in Action" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Secret" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 2 times in the file. 71
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/iterate/IterateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Item" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Item.nameDesc" appears 2 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jdbc/GeneralWorkTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 152
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 176
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/AggressiveReleaseTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "drop table SANDBOX_JDBC_TST if exists" appears 2 times in the file. 65
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 128
 Warning extension MultipleStringLiteralsExtended The String "insert into SANDBOX_JDBC_TST( ID, NAME ) values ( ?, ? )" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "incorrect exception type : sqlexception" appears 3 times in the file. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension MultipleStringLiteralsExtended The String "select * from SANDBOX_JDBC_TST" appears 3 times in the file. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BasicConnectionTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 52
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 73
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 76
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BatchingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SANDBOX_JDBC_TST" appears 2 times in the file. 86
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 87
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90
 Warning extension MultipleStringLiteralsExtended The String "create table SANDBOX_JDBC_TST ( ID integer, NAME varchar(100) )" appears 2 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "insert into SANDBOX_JDBC_TST( ID, NAME ) values ( ?, ? )" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "this" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "unexpected Batch impl" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 151
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/join/JoinTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mark" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "from java.io.Serializable" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "from Person p where p.class is null" appears 2 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension MultipleStringLiteralsExtended The String "select height_centimeters from person where name='Emmanuel'" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "select pwd_expiry_weeks from t_user where person_id=?" appears 2 times in the file. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/join/OptionalJoinTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "from Thing" appears 18 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "one_changed" appears 6 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "two" appears 6 times in the file. 298
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 347
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 387

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/JoinedSubclassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mark" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "from Person p where type(p) in :who" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "who" appears 2 times in the file. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 4 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 3 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "Mr" appears 3 times in the file. 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 194
 Warning extension MultipleStringLiteralsExtended The String "select height_centimeters from JPerson where name='Emmanuel'" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "select pwd_expiry_weeks from JEmployee where person_id=?" appears 2 times in the file. 233

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/JoinedSubclassWithExplicitDiscriminatorTest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Cat' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 52
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Dog' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 64
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/JoinedSubclassWithIgnoredExplicitDiscriminatorTest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Cat' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 53
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Dog' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 65
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "clazz_" appears 2 times in the file. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/JoinedSubclassWithImplicitDiscriminatorTest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Cat' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Dog' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 61

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinfetch/Bid.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinfetch/Comment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 28
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 29

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinfetch/Item.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 33
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/joinfetch/JoinFetchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "delete from Bid" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "delete from Comment" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "delete from Item" appears 2 times in the file. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension MultipleStringLiteralsExtended The String "hibernate" appears 8 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 6 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "max" appears 6 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "users" appears 2 times in the file. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/cascade/CascadeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "expecting TransientObjectException on flush" appears 9 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "handled expected exception" appears 7 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "blah blah blah" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "handled expected exception : " appears 2 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "delete ChildInfoAssigned" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "delete ChildAssigned" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "delete ParentAssigned" appears 2 times in the file. 311
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 317
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 325

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/fetch/FetchingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "King" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "JBoss Inc" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "A380" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Blah" appears 8 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "select p from Person p where p.firstName = :name" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/fetch/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/fetch/Stay.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/lock/JPALockTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ejb3 lock tests" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "lock test" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "updated" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "isolation not maintained" appears 2 times in the file. 82
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 173

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/lock/RepeatableReadTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "EJB3 Specification" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "EJB3 Persistence Spec" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "encountered non-repeatable read" appears 7 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "delete Item" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "repeatable read tests" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "Lock Modes" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "3.3.5.3" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "Lock Mode Types" appears 2 times in the file. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 254
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/naturalid/ImmutableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 21 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "superSecret" appears 6 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension MultipleStringLiteralsExtended The String "delete User" appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "userName" appears 11 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "supsup" appears 2 times in the file. 163

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/naturalid/MutableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "admin" appears 3 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "admins" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "Klein" appears 2 times in the file. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/naturalid/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/proxy/JPAProxyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "proxy access did not fail on non-existent proxy" appears 2 times in the file. 57
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 62
 Warning extension MultipleStringLiteralsExtended The String "unexpected exception type on non-existent proxy access : " appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/ql/NamedNativeQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ids" appears 8 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 8 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "LastName" appears 8 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String " " appears 6 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "DestinationEntity.selectIds" appears 2 times in the file. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension MultipleStringLiteralsExtended The String "fullName" appears 3 times in the file. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension MultipleStringLiteralsExtended The String "DestinationEntity.update" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "idFrom" appears 2 times in the file. 209
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 231
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233
 Warning extension MultipleStringLiteralsExtended The String "DestinationEntity.delete" appears 2 times in the file. 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 299
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/removed/RemovedEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dummy" appears 5 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "expecting removed entity to be returned as null from get()" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Rescued" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "the item is contained in the session after deletion" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "the part is contained in the session after deletion" appears 2 times in the file. 151

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/jpa/txn/TransactionJoiningTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/keymanytoone/bidir/component/EagerKeyManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Acme, Inc." appears 3 times in the file. 106
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 182

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/keymanytoone/bidir/component/LazyKeyManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Acme, Inc." appears 3 times in the file. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/keymanytoone/bidir/embedded/KeyManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Acme, Inc." appears 3 times in the file. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/keymanytoone/bidir/embedded/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazycache/InstrumentCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "HiA" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Hibernate book" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Hibernate is...." appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Document fetch all properties" appears 2 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "text" appears 6 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "summary" appears 6 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazyload/LazyLoadingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazyload/Parent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazyonetoone/Employment.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lazyonetoone/LazyOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ABCProxyTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 51
 Warning extension MultipleStringLiteralsExtended The String "from B" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 5 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 15 times in the file. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension MultipleStringLiteralsExtended The String "from A" appears 3 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension MultipleStringLiteralsExtended The String "from E e" appears 2 times in the file. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 322

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ABCTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "a funny name" appears 3 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Bar.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 7
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/BasicNameable.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 32
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Baz.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "duplicate" appears 3 times in the file. 140

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Broken.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Circular.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Circular' does not extend anything. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Component.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 18
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 25
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 32
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ComponentCollection.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ComponentNotNullMaster.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "nil" appears 2 times in the file. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ComponentNotNullTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Inserting not-null null property should fail" appears 3 times in the file. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Componentizable.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 14
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 22
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 29
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 36
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 43
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 50
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 57

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/CompositeElement.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/CompositeIdId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Container.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nil" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 44
 Warning extension LogicConditionNeedOptimization Condition with && at line 104 position 4 need optimization. All method calls are advised to move to end of logic expression. 104
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Container' does not extend anything. 127

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Custom.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'cnse' was lost. 15

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 218
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 222
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 231
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 235
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 270
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 404
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 405
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 406
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 407
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 412
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 419
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 427
 Warning extension MultipleStringLiteralsExtended The String "CUSTOMS" appears 3 times in the file. 461
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 479
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 483
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 490
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 554
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 592
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 622
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 637
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 678

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/CustomSQLTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "replacement" appears 3 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "select p from Person as p where p.address = 'Lrkevnget 1'" appears 2 times in the file. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/D.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 9
 Warning extension OverridableMethodInConstructor Overridable method 'setAmount' is called in constructor body. 13
 Warning extension OverridableMethodInConstructor Overridable method 'getAmount' is called in constructor body. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Detail.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 41
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Fee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Fo.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 17
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 19
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 20
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 21
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 22
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Foo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13
 Warning extension LogicConditionNeedOptimization Condition with && at line 22 position 50 need optimization. All method calls are advised to move to end of logic expression. 22
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 95
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 110
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 136
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 139
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 143
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 146
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 151
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 154
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 158
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 161
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 165
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 168
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 171
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 174
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 179
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 182
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 185
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 188
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 191
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 194
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 197
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 200
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 203
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 206
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 209
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 212
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 215
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 218
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 222
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 225
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 229
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 232
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 236
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 240
 Warning extension LogicConditionNeedOptimization Condition with && at line 268 position 2 need optimization. All method calls are advised to move to end of logic expression. 268
 Warning extension LogicConditionNeedOptimization Condition with && at line 271 position 2 need optimization. All method calls are advised to move to end of logic expression. 271
 Warning extension LogicConditionNeedOptimization Condition with && at line 275 position 2 need optimization. All method calls are advised to move to end of logic expression. 275
 Warning extension LogicConditionNeedOptimization Condition with && at line 278 position 2 need optimization. All method calls are advised to move to end of logic expression. 278
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 359
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 367
 Warning extension FinalizeImplementation finalize() method should have a "protected" visibility. 403

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/FooBarTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension MultipleStringLiteralsExtended The String "from Baz" appears 3 times in the file. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension MultipleStringLiteralsExtended The String "loaded same object" appears 2 times in the file. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 33 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 29 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.legacy.Baz.fooSet" appears 2 times in the file. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension MultipleStringLiteralsExtended The String "from Foo" appears 9 times in the file. 462
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 465
 Warning extension MultipleStringLiteralsExtended The String "empty iterator" appears 2 times in the file. 481
 Warning extension MultipleStringLiteralsExtended The String "select foo.foo from Foo foo" appears 2 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "query" appears 3 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "returned object" appears 3 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "component query" appears 8 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "id query" appears 2 times in the file. 552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 582
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension MultipleStringLiteralsExtended The String "single quotes" appears 2 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "query many-to-one" appears 2 times in the file. 620
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 625
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 632
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 635
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 640
 Warning extension MultipleStringLiteralsExtended The String "select new Foo(fo.x) from Foo fo" appears 4 times in the file. 649
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 653
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 658
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 675
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 676
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 677
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 679
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 687
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 688
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 689
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 691
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 698
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 699
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 700
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 703
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 708
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 709
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 710
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 713
 Warning extension MultipleStringLiteralsExtended The String "from Named n0, Named n1 where n0.name = n1.name" appears 2 times in the file. 717
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 724
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 725
 Warning extension MultipleStringLiteralsExtended The String "from java.lang.Object" appears 4 times in the file. 732
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 738
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 745
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 747
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 751
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 754
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 795
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 807
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 808
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 811
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 814
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 817
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 819
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 824
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 831
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 833
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 835
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 866
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 872
 Warning extension MultipleStringLiteralsExtended The String "from Fee" appears 3 times in the file. 872
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 894
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 900
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 943
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 944
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 945
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 946
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 980
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 981
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1011
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1013
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1030
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1045
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1047
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1049
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1050
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1051
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 11 times in the file. 1092
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1110
 Warning extension MultipleStringLiteralsExtended The String "from Baz baz left join fetch baz.fooBag" appears 4 times in the file. 1132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1168
 Warning extension MultipleStringLiteralsExtended The String "dirty" appears 3 times in the file. 1188
 Warning extension MultipleStringLiteralsExtended The String "update" appears 7 times in the file. 1215
 Warning extension MultipleStringLiteralsExtended The String "glarch" appears 2 times in the file. 1238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1286
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 1297
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1361
 Warning extension MultipleStringLiteralsExtended The String "changed" appears 3 times in the file. 1397
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1411
 Warning extension MultipleStringLiteralsExtended The String "from Foo foo" appears 20 times in the file. 1412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1422
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1464
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1465
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1500
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1507
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1514
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1526
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1527
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1563
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1564
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1565
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1609
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1640
 Warning extension MultipleStringLiteralsExtended The String "select distinct foo from Foo foo" appears 2 times in the file. 1661
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1671
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1681
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1711
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1720
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 2 times in the file. 1748
 Warning extension MultipleStringLiteralsExtended The String "Bar Two" appears 2 times in the file. 1749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1765
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1769
 Warning extension MultipleStringLiteralsExtended The String "nameList" appears 3 times in the file. 1776
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1779
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1790
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1794
 Warning extension MultipleStringLiteralsExtended The String "valueX" appears 2 times in the file. 1799
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1801
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1804
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1858
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1871
 Warning extension MultipleStringLiteralsExtended The String "G" appears 2 times in the file. 1903
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1911
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1912
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1913
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1921
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1929
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 6 times in the file. 1948
 Warning extension MultipleStringLiteralsExtended The String "string" appears 5 times in the file. 1950
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 5 times in the file. 1951
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1956
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1966
 Warning extension MultipleStringLiteralsExtended The String "bool" appears 2 times in the file. 1974
 Warning extension MultipleStringLiteralsExtended The String "char" appears 2 times in the file. 1975
 Warning extension MultipleStringLiteralsExtended The String "yesno" appears 2 times in the file. 1976
 Warning extension MultipleStringLiteralsExtended The String "Example API without like did not work correctly, size was " appears 2 times in the file. 1980
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2005
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 2008
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2010
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2016
 Warning extension MultipleStringLiteralsExtended The String "component.importantDates" appears 2 times in the file. 2018
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2020
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2026
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2047
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2048
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2053
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2054
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2098
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2099
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2137
 Warning extension MultipleStringLiteralsExtended The String "More Stuff" appears 3 times in the file. 2175
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 2177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2254
 Warning extension MultipleStringLiteralsExtended The String "from Fee fee" appears 6 times in the file. 2254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2278
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2288
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 2289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2292
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2292
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2297
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Bar as bar where '1' in (from bar.component.glarch.proxyArray g where g.name='foo')" appears 2 times in the file. 2311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2369
 Warning extension MultipleStringLiteralsExtended The String "from Bar bar join bar.baz.fooArray foo" appears 2 times in the file. 2369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2372
 Warning extension MultipleStringLiteralsExtended The String "select elements(baz.fooArray) from Baz baz where baz.id=?" appears 2 times in the file. 2386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2397
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 2411
 Warning extension MultipleStringLiteralsExtended The String "a new value" appears 2 times in the file. 2429
 Warning extension MultipleStringLiteralsExtended The String "from Baz baz" appears 2 times in the file. 2430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2431
 Warning extension MultipleStringLiteralsExtended The String "select elements(baz.stringArray) from Baz baz" appears 5 times in the file. 2432
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2441
 Warning extension MultipleStringLiteralsExtended The String "1E1" appears 4 times in the file. 2442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2444
 Warning extension MultipleStringLiteralsExtended The String "select elements(baz.stringList) from Baz baz" appears 4 times in the file. 2445
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2450
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2471
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from Bar" appears 7 times in the file. 2483
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2484
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2485
 Warning extension MultipleStringLiteralsExtended The String "from Glarch g" appears 6 times in the file. 2485
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 2495
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 2496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2505
 Warning extension MultipleStringLiteralsExtended The String "new value" appears 2 times in the file. 2515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2521
 Warning extension MultipleStringLiteralsExtended The String "collection.elements find" appears 2 times in the file. 2528
 Warning extension MultipleStringLiteralsExtended The String "select baz from Baz baz order by baz" appears 5 times in the file. 2543
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2552
 Warning extension MultipleStringLiteralsExtended The String "two" appears 4 times in the file. 2554
 Warning extension MultipleStringLiteralsExtended The String "one" appears 3 times in the file. 2555
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2563
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2565
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2566
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2576
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2583
 Warning extension MultipleStringLiteralsExtended The String "nameName" appears 3 times in the file. 2594
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2605
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2612
 Warning extension LogicConditionNeedOptimization Condition with && at line 2,613 position 86 need optimization. All method calls are advised to move to end of logic expression. 2613
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2619
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2620
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2621
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2622
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2624
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2625
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2628
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2630
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2646
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2647
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2655
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2656
 Warning extension MultipleStringLiteralsExtended The String "update " appears 2 times in the file. 2672
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2678
 Warning extension MultipleStringLiteralsExtended The String "from Bar bar" appears 2 times in the file. 2679
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2696
 Warning extension MultipleStringLiteralsExtended The String "blah" appears 2 times in the file. 2707
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2714
 Warning extension MultipleStringLiteralsExtended The String "create-update" appears 2 times in the file. 2735
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2800
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2801
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2802
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2803
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2804
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2805
 Warning extension MultipleStringLiteralsExtended The String "bar bar" appears 2 times in the file. 2885
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2908
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2910
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2912
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 3 times in the file. 2956
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 3 times in the file. 2959
 Warning extension MultipleStringLiteralsExtended The String "find size" appears 5 times in the file. 2963
 Warning extension MultipleStringLiteralsExtended The String "class special property" appears 3 times in the file. 2969
 Warning extension MultipleStringLiteralsExtended The String "from Foo foo where foo.class=Bar" appears 2 times in the file. 2970
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2992
 Warning extension MultipleStringLiteralsExtended The String "from Trivial" appears 2 times in the file. 2992
 Warning extension MultipleStringLiteralsExtended The String "unkeyed reachability" appears 4 times in the file. 3056
 Warning extension MultipleStringLiteralsExtended The String "today" appears 2 times in the file. 3112
 Warning extension MultipleStringLiteralsExtended The String "tomorrow" appears 2 times in the file. 3113
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 3113
 Warning extension MultipleStringLiteralsExtended The String "reachability" appears 4 times in the file. 3130
 Warning extension MultipleStringLiteralsExtended The String "null element" appears 2 times in the file. 3134
 Warning extension MultipleStringLiteralsExtended The String "non-null element" appears 2 times in the file. 3135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3143
 Warning extension MultipleStringLiteralsExtended The String "not null" appears 3 times in the file. 3183
 Warning extension MultipleStringLiteralsExtended The String "version" appears 6 times in the file. 3237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3288
 Warning extension MultipleStringLiteralsExtended The String "versioned collection before" appears 3 times in the file. 3289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3297
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3298
 Warning extension MultipleStringLiteralsExtended The String "versioned collection after" appears 5 times in the file. 3314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3336
 Warning extension MultipleStringLiteralsExtended The String "recursive find" appears 2 times in the file. 3362
 Warning extension MultipleStringLiteralsExtended The String "recursive iter" appears 3 times in the file. 3369
 Warning extension MultipleStringLiteralsExtended The String "from Glarch g where g.next is not null" appears 2 times in the file. 3370
 Warning extension MultipleStringLiteralsExtended The String "select f, f.integer from Foo f" appears 2 times in the file. 3449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3450
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3462
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3464
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3469
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3470
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3472
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3481
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3497
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3500
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3501
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3502
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3510
 Warning extension MultipleStringLiteralsExtended The String "multi-column find" appears 2 times in the file. 3525
 Warning extension MultipleStringLiteralsExtended The String "multi-column count" appears 2 times in the file. 3531
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3533
 Warning extension MultipleStringLiteralsExtended The String "multi-column id" appears 2 times in the file. 3538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3541
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3547
 Warning extension LogicConditionNeedOptimization Condition with && at line 3,551 position 26 need optimization. All method calls are advised to move to end of logic expression. 3551
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3554
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3670
 Warning extension MultipleStringLiteralsExtended The String "updated from transient" appears 3 times in the file. 3715
 Warning extension MultipleStringLiteralsExtended The String "CHANGED" appears 2 times in the file. 3722
 Warning extension MultipleStringLiteralsExtended The String "an element" appears 3 times in the file. 3723
 Warning extension MultipleStringLiteralsExtended The String "changed again" appears 2 times in the file. 3724
 Warning extension MultipleStringLiteralsExtended The String "updated collection" appears 3 times in the file. 3740
 Warning extension MultipleStringLiteralsExtended The String "new element" appears 2 times in the file. 3745
 Warning extension MultipleStringLiteralsExtended The String "cascade update" appears 2 times in the file. 3785
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3798
 Warning extension MultipleStringLiteralsExtended The String "IFA" appears 3 times in the file. 3835
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3873
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 3918
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 3927
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 3976
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4001
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4017
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 4022
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4031
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4042
 Warning extension MultipleStringLiteralsExtended The String "order by" appears 3 times in the file. 4055
 Warning extension MultipleStringLiteralsExtended The String "'a' isn't first element" appears 2 times in the file. 4091
 Warning extension MultipleStringLiteralsExtended The String "'b' isn't second element" appears 2 times in the file. 4092
 Warning extension MultipleStringLiteralsExtended The String "array of proxies" appears 2 times in the file. 4192
 Warning extension MultipleStringLiteralsExtended The String "deferred load test" appears 2 times in the file. 4194
 Warning extension MultipleStringLiteralsExtended The String "find returns same object as load" appears 2 times in the file. 4259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4295
 Warning extension MultipleStringLiteralsExtended The String "osama" appears 3 times in the file. 4320
 Warning extension MultipleStringLiteralsExtended The String "autoflush collection update" appears 2 times in the file. 4321
 Warning extension MultipleStringLiteralsExtended The String "bark" appears 2 times in the file. 4387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4399
 Warning extension MultipleStringLiteralsExtended The String "select foo from Baz baz join baz.fooArray foo" appears 2 times in the file. 4406
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4433
 Warning extension MultipleStringLiteralsExtended The String "from Fo" appears 2 times in the file. 4447
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4450
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4498
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4521
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4524
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4530
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4537
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4543
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 4546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4572
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4607
 Warning extension MultipleStringLiteralsExtended The String "AU" appears 3 times in the file. 4619
 Warning extension MultipleStringLiteralsExtended The String "Brunswick Rd" appears 2 times in the file. 4622
 Warning extension MultipleStringLiteralsExtended The String "Melbourne" appears 3 times in the file. 4624
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4635
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4636
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4637
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4638
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4658
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4659
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4687
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4688
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4691
 Warning extension MultipleStringLiteralsExtended The String "From Bar bar" appears 3 times in the file. 4718
 Warning extension MultipleStringLiteralsExtended The String "From Foo foo" appears 3 times in the file. 4765
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4813
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4814
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4819
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4820
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4821
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4822
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4823
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4838
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4840
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4841
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4844
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4846
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4853
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4855
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4873
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4874
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4881
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4907
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4908
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4915
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4916
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4926
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 4927

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/FooComponent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Fum.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/FumCompositeID.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6
 Warning extension LogicConditionNeedOptimization Condition with && at line 11 position 43 need optimization. All method calls are advised to move to end of logic expression. 11
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 16
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 19
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 22
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 25

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fum" appears 26 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "a value" appears 2 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension MultipleStringLiteralsExtended The String "fo" appears 20 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "fo fee fi" appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "stuff" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "fr" appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "goo" appears 3 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "fr2" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "soo" appears 3 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "friends" appears 6 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "g%" appears 3 times in the file. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension MultipleStringLiteralsExtended The String "f%" appears 5 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension MultipleStringLiteralsExtended The String "this" appears 2 times in the file. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "xam" appears 2 times in the file. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension MultipleStringLiteralsExtended The String "fi" appears 5 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "fee fi fo" appears 3 times in the file. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension MultipleStringLiteralsExtended The String "load by composite key" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "fee fo fi" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "from Fum fum where not fum.fum='FRIEND'" appears 4 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "iterate on composite key" appears 3 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "fee" appears 2 times in the file. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 450
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension MultipleStringLiteralsExtended The String "collection of fums" appears 2 times in the file. 511
 Warning extension MultipleStringLiteralsExtended The String "f1" appears 2 times in the file. 532
 Warning extension MultipleStringLiteralsExtended The String "f2" appears 2 times in the file. 533
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 578
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 578
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 592
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 594
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 595
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 603
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 604
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 609
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 613
 Warning extension MultipleStringLiteralsExtended The String "dudu" appears 2 times in the file. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 652
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 658
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 665
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 684
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 687
 Warning extension MultipleStringLiteralsExtended The String "Not same parent instances" appears 2 times in the file. 767
 Warning extension MultipleStringLiteralsExtended The String "Not same child instances" appears 2 times in the file. 768
 Warning extension AvoidHidingCauseException Cause exception 'cnfe' was lost. 884

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Fumm.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 16
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Fumm' does not extend anything. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Glarch.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 108

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/IJ2Test.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/IJTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Inner.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/InnerKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Jay.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 39
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/LegacyTestCase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Location.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MapTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "$type$" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "TestMap" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "address" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "cmp" appears 2 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 88
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 7 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "children" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MultipleStringLiteralsExtended The String "ChildMap" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "ParentMap" appears 2 times in the file. 129

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Master.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Eye Eye" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension MultipleStringLiteralsExtended The String "new sub" appears 2 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension MultipleStringLiteralsExtended The String "bigDecimal" appears 5 times in the file. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 263
 Warning extension MultipleStringLiteralsExtended The String "SELECT m FROM Master m JOIN m.details d WHERE d.i=5" appears 2 times in the file. 317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension MultipleStringLiteralsExtended The String "master-detail" appears 4 times in the file. 368
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 414
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 431
 Warning extension MultipleStringLiteralsExtended The String "id2" appears 2 times in the file. 434
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 454
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 459
 Warning extension MultipleStringLiteralsExtended The String "top" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "list" appears 2 times in the file. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 510
 Warning extension MultipleStringLiteralsExtended The String "outgoing" appears 2 times in the file. 525
 Warning extension MultipleStringLiteralsExtended The String "cascade save" appears 2 times in the file. 557
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 606
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 609
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 638
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 640
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 641
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 696
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 708
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 745
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 778
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 790
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 817
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 818
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 819
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 820
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 828
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 835
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 843
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 845
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 847
 Warning extension MultipleStringLiteralsExtended The String "root" appears 2 times in the file. 864
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 874
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 881
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 898
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 930
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 953
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 985
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 990
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 996
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1002
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1008
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.legacy.Assignable.categories" appears 3 times in the file. 1069
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1077
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1078
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1090
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1092
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1093
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1121

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Middle.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MiddleKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Mono.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Mono' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 22

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MoreStuff.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Multi.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Multi' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 12
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 15
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 16
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 17
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MultiTableTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "another" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "from Lower" appears 3 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "from Top" appears 9 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "from SubMulti" appears 3 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "extra" appears 5 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "simp" appears 4 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "new name" appears 6 times in the file. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension MultipleStringLiteralsExtended The String "extra2" appears 3 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension MultipleStringLiteralsExtended The String "newer name" appears 4 times in the file. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension MultipleStringLiteralsExtended The String "extra23" appears 2 times in the file. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension MultipleStringLiteralsExtended The String "select\n\nt from Top t where t.count>0" appears 2 times in the file. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension MultipleStringLiteralsExtended The String "from Multi m where m.count>0 and m.extraProp is not null" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "from Top m where m.count>0 and m.name is not null" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "from Lower m where m.other is not null" appears 2 times in the file. 314
 Warning extension MultipleStringLiteralsExtended The String "from Multi m where m.other.id = 1" appears 2 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "from SubMulti m where m.amount > 0.0" appears 2 times in the file. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension MultipleStringLiteralsExtended The String "from Multi" appears 2 times in the file. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension MultipleStringLiteralsExtended The String "from Lower ls join ls.bag s where s.id is not null" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "from SubMulti sm where exists elements(sm.children)" appears 2 times in the file. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension MultipleStringLiteralsExtended The String "amount" appears 2 times in the file. 347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 431
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 465
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension MultipleStringLiteralsExtended The String "Less Simple" appears 2 times in the file. 516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 524
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 529
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 530
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 549
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 565
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 570
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 614
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 615
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 617
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 662

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Multiplicity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/MultiplicityType.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/NestingComponent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 4

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/NonReflectiveBinderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.legacy.Wicked" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "global" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "globalnoinherit" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "implements" appears 5 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Observer" appears 2 times in the file. 81
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 85
 Warning extension MultipleStringLiteralsExtended The String "component" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "AnotherInterface" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "globalmutated" appears 8 times in the file. 125
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 128
 Warning extension MultipleStringLiteralsExtended The String "wicked level" appears 2 times in the file. 130
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 136
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 146
 Warning extension MultipleStringLiteralsExtended The String "sortedEmployee" appears 2 times in the file. 152
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 156
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 165
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 175
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 184
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 195

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Outer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/OuterKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ParentChildTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "from Parent p left join fetch p.child" appears 2 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension MultipleStringLiteralsExtended The String "xyzid" appears 3 times in the file. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension MultipleStringLiteralsExtended The String "g2" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "topGlarchez" appears 3 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "fooSet" appears 8 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "null" appears 3 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "a string" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "fooArray" appears 2 times in the file. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 2 times in the file. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "foo2.component.glarch" appears 2 times in the file. 338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 469
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension MultipleStringLiteralsExtended The String "from Part" appears 2 times in the file. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 525
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 526
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 527
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 528
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 530
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 545
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 576
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 580
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 592
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 604
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 613
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 619
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 625
 Warning extension MultipleStringLiteralsExtended The String "1-1 update" appears 2 times in the file. 669
 Warning extension MultipleStringLiteralsExtended The String "1-1 query" appears 3 times in the file. 672
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 703
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 712
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 743
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 744
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 746
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 756
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 757
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 759
 Warning extension MultipleStringLiteralsExtended The String "from ContainerX c" appears 7 times in the file. 760
 Warning extension MultipleStringLiteralsExtended The String "from Simple" appears 3 times in the file. 762
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 814
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 818
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 830
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 831
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 832
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 833
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 834
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 835
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 836
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 838
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 863
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 864
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 865
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 866
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 867
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 868
 Warning extension MultipleStringLiteralsExtended The String "a different name" appears 2 times in the file. 869
 Warning extension MultipleStringLiteralsExtended The String "once again" appears 2 times in the file. 870
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 881
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 882
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 883
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 889
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 903
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 904
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 905
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 906
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 931
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 932
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 954
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 955
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1005
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1016
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1019
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1020
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1029
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1070
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1071
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1072
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1073
 Warning extension MultipleStringLiteralsExtended The String "from Universe" appears 2 times in the file. 1074
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1186
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1225
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1232
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate entity Simple with id = -1" appears 2 times in the file. 1234

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/QueryByExampleTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hibernate" appears 7 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "open source1" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "ope%" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "ORM tool" appears 2 times in the file. 107

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Qux.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 42
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 54
 Warning extension FinalizeImplementation finalize() method should contain try-finally block with super.finalize() call inside finally block. 162

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Result.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/ReverseComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'iter' can be moved inside the block at line '79' to restrict runtime creation. 77
 Warning extension MultipleStringLiteralsExtended The String "select max(s.count) from Simple s" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 128
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 136
 Warning extension MultipleStringLiteralsExtended The String "Simple 1" appears 20 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name=:name and s.count=:count" appears 2 times in the file. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension MultipleStringLiteralsExtended The String "Slimeball" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name in (:several)" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name in (:stuff)" appears 2 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "count" appears 3 times in the file. 193
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'parameters'. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name=?" appears 4 times in the file. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension MultipleStringLiteralsExtended The String "from Simple s where s.name=:name" appears 3 times in the file. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension MultipleStringLiteralsExtended The String "Simple 2" appears 6 times in the file. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 349
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 416
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension MultipleStringLiteralsExtended The String "from Simple s" appears 8 times in the file. 494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 504
 Warning extension MultipleStringLiteralsExtended The String "SIMPLE 1" appears 2 times in the file. 506
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 509
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 522
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 525
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 528
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 536
 Warning extension MultipleStringLiteralsExtended The String "foo/bar/baz" appears 2 times in the file. 560
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 630
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 661
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 669
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 685
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/SQLLoaderTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "from Assignable" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "from Category" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "from A" appears 8 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "select {category.*} from category {category}" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "category" appears 13 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "WannaBeFound" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "select {category.*} from category {category} where {category}.name in (:names)" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "names" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "select {category.*} from category {category} where {category}.name in :names" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "NAME" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "i.d." appears 4 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "wrong type: " appears 2 times in the file. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension MultipleStringLiteralsExtended The String "i.d.2" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "i.d.3" appears 2 times in the file. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension MultipleStringLiteralsExtended The String "Good" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "Best" appears 3 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "Better" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Max" appears 3 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "my id" appears 4 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "sing" appears 4 times in the file. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 480
 Warning extension MultipleStringLiteralsExtended The String "select s.id as {sing.id}, s.string_ as {sing.string}, s.prop as {sing.prop} from Single s where s.id = ?" appears 2 times in the file. 484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 497
 Warning extension MultipleStringLiteralsExtended The String "flakky comp" appears 2 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "select s.category_key_col as {category.id}, s.name as {category.name}, s.\"assign-able-id\" as {category.assignable} from {category} s" appears 2 times in the file. 583
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 589
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 617
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 650
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 651
 Warning extension MultipleStringLiteralsExtended The String "c64" appears 3 times in the file. 705
 Warning extension MultipleStringLiteralsExtended The String "games" appears 3 times in the file. 706

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Several.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Simple.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 131
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 139

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Single.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/StringComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Stuff.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 18
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 19
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 20
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/SubComponent.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 17
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 24
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 31
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Up.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8
 Warning extension LogicConditionNeedOptimization Condition with && at line 32 position 35 need optimization. All method calls are advised to move to end of logic expression. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/W.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/legacy/Z.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lob/ClobLocatorTest.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'empty' can be moved inside the block at line '115' to restrict runtime creation. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lob/JpaLargeBlobTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lob/LobEntity.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/lob/SerializableData.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/locale/LocaleTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 68

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/locking/LockModeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from A a" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 147
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 207
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 229

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/Group.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/ManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jboss" appears 3 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "groups" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/batchload/BatchedManyToManyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/batchload/Group.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/batchload/User.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/ordered/Group.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/ordered/OrderedManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "jboss" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "emmanuel" appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "users" appears 2 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "many-to-many ordering not applied" appears 4 times in the file. 145

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomany/ordered/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 6

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/AbstractManyToManyAssociationClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "user" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "group" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "membership" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "membership1" appears 4 times in the file. 182

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/Group.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 74 position 30 need optimization. All method calls are advised to move to end of logic expression. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/Membership.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 93 position 30 need optimization. All method calls are advised to move to end of logic expression. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/User.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 79 position 31 need optimization. All method calls are advised to move to end of logic expression. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/compositeid/MembershipWithCompositeId.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/manytomanyassociationclass/surrogateid/generated/ManyToManyAssociationClassGeneratedIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "membership" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "should have failed because inserts are before deletes" appears 3 times in the file. 67

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/map/MapIndexFormulaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "secret" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "turin" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "tiger" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "developers" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "foo bar baz" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "foo bar baz 2" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "select count(*) from User" appears 2 times in the file. 104

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapcompelem/MapCompositeElementTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "top" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "The top part" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "bottom" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "The bottom part" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Some Thing" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Top" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Bottom" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "The brand new top part" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapelemformula/MapElementFormulaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "turin" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "users" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Turin" appears 2 times in the file. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/AliasTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 83
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/ConfEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/ConfId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/PersistentClassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/UserConfEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/UserConfId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/UserEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/usertypes/EnumUserType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enumClassName" appears 2 times in the file. 24
 Warning extension MultipleStringLiteralsExtended The String "enumClass " appears 2 times in the file. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '58' to restrict runtime creation. 56
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 73
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 111
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 111

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mapping/usertypes/UserTypeMappingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/mapping/usertypes/TestEnumType.hbm.xml" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/mapping/usertypes/TestEntity.hbm.xml" appears 2 times in the file. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mappingexception/MappingExceptionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "completelybogus.hbm.xml" appears 8 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "file" appears 8 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "resource" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "input stream" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "nothere" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "file://nothere" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "URL" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/mappingexception/InvalidMapping.hbm.xml" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String ".hbm.xml" appears 3 times in the file. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/math/MathTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mixed/DocumentInterceptor.java

Severity Category Rule Message Line
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 70
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 78

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/mixed/MixedTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Hibernate in Action" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Secret" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "HiA" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/multitenancy/ConfigurationValidationTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 22
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 2 times in the file. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/multitenancy/TestingConnectionProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/multitenancy/schema/SchemaBasedMultiTenancyTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64
 Warning extension MultipleStringLiteralsExtended The String "acme" appears 7 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "jboss" appears 8 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 4 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "john" appears 3 times in the file. 226

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/Category.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/Customers.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/FullyQualifiedEntityNameNamingStrategyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "items" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_" appears 6 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/LocalizedEmbeddable.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'LocalizedEmbeddable' does not extend anything. 42
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'LocalizedEmbeddable' does not extend anything. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/namingstrategy/Workflow.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableEntityNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "alex" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "billy" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 14 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "superSecret" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "userName" appears 8 times in the file. 118

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutableentity/ImmutableEntityNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cache hits should be empty" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Cache misses should be empty" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Query count should be empty" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Computer Science" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "1210 W. Dayton St." appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Madison" appears 6 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "WI" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "address" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "city" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "state" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Cache hits should be one after second query" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Cache put should be one after second query" appears 2 times in the file. 126

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/InheritedNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 12 times in the file. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/MutableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 13 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "hb" appears 30 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "secret" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "name" appears 22 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "org" appears 19 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 97
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 109
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 140
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 152
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 155
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 13 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "superSecret" appears 4 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "emmanuel" appears 3 times in the file. 458

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/A.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "it" appears 11 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "modified" appears 4 times in the file. 82

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "it" appears 10 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "it2" appears 6 times in the file. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/A.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/NullableNaturalIdTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "naturalid" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "assA" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Titi" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "associatedC" appears 2 times in the file. 110

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ondelete/OnDeleteTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ondemandload/LazyLoadingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "007" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 176

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ondemandload/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ondemandload/Store.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetomany/AbstractRecursiveBidirectionalOneToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "node3-updated" appears 2 times in the file. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetomany/Node.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension OverridableMethodInConstructor Overridable method 'setId' is called in constructor body. 42
 Warning extension OverridableMethodInConstructor Overridable method 'setDescription' is called in constructor body. 43

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/formula/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/formula/OneToOneFormulaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "HOME" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "3181" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "VIC" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Karbarook Ave" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "address" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/formula/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/joined/JoinedSubclassOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "3181" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "VIC" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "IFA" appears 3 times in the file. 137

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/link/OneToOneLinkTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 3 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "from Employee e join fetch e.person p left join fetch p.customer" appears 2 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/nopojo/DynamicMapOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "address" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Person" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "could not locate person" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "could not locate persons address" appears 2 times in the file. 60

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/onetoone/singletable/DiscrimSubclassOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "3181" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "VIC" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "IFA" appears 3 times in the file. 129

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/Category.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/CreateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "dupe" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "nondupe" appears 2 times in the file. 156
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 200
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/DeleteTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 88

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/Employer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/GetLoadTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.ops.Employer" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.ops.Node" appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/Hoarder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/Item.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/MergeMultipleEntityCopiesAllowedOrphanDeleteTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "item1 name" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "subItem1 name" appears 6 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "category" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "subItem2 name" appears 6 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension MultipleStringLiteralsExtended The String "category1 name" appears 4 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "subCategory1 name" appears 4 times in the file. 294
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension MultipleStringLiteralsExtended The String "subCategory2 name" appears 4 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "item" appears 4 times in the file. 317
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 480
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/MergeMultipleEntityCopiesAllowedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "item1 name" appears 11 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "category" appears 13 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "red" appears 8 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 4 times in the file. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension MultipleStringLiteralsExtended The String "item1" appears 3 times in the file. 477
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 3 times in the file. 497
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 547
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 601
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 612
 Warning extension MultipleStringLiteralsExtended The String "item" appears 6 times in the file. 652
 Warning extension MultipleStringLiteralsExtended The String "new name" appears 2 times in the file. 675
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 679
 Warning extension MultipleStringLiteralsExtended The String "should have failed because one representation is an older version." appears 2 times in the file. 689
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 730
 Warning extension MultipleStringLiteralsExtended The String "subItem1 name" appears 6 times in the file. 759
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 775
 Warning extension MultipleStringLiteralsExtended The String "subItem2 name" appears 6 times in the file. 781
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 888
 Warning extension MultipleStringLiteralsExtended The String "category1 name" appears 4 times in the file. 978
 Warning extension MultipleStringLiteralsExtended The String "subCategory1 name" appears 4 times in the file. 980
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 996
 Warning extension MultipleStringLiteralsExtended The String "subCategory2 name" appears 4 times in the file. 999
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1098
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1174

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/MergeMultipleEntityCopiesCustomTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/MergeMultipleEntityCopiesDisallowedByDefaultTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "should have failed due IllegalStateException" appears 2 times in the file. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/MergeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "entity" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 5 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "child" appears 12 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "second child" appears 3 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "new name" appears 3 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "unexpected parent version increment" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "unexpected child version increment" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 4 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "new child" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "test-2" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "test-3" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "saveOrUpdate() should fail here" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "root" appears 9 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "grandchild" appears 2 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "the grand child" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "grandchild2" appears 2 times in the file. 433
 Warning extension MultipleStringLiteralsExtended The String "grandchild3" appears 2 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "delete from NumberedNode" appears 2 times in the file. 531
 Warning extension MultipleStringLiteralsExtended The String "The root node" appears 2 times in the file. 552
 Warning extension MultipleStringLiteralsExtended The String "The child node" appears 2 times in the file. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 634
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 669
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 673
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 715
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 719
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 752
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 817
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 818

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/NumberedNode.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'NumberedNode' does not extend anything. 20

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/SaveOrUpdateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "child" appears 7 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "grandchild" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "the grand child" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "grandchild2" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "grandchild3" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "delete from NumberedNode" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "The root node" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "The child node" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "second child" appears 2 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 395
 Warning extension MultipleStringLiteralsExtended The String "1:parent" appears 3 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "2:child" appears 3 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "3:grandchild" appears 2 times in the file. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 431
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 432
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 463
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 464
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 465
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 469
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension MultipleStringLiteralsExtended The String "a name" appears 2 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "a new name" appears 2 times in the file. 508

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ops/SimpleOpsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "new name" appears 2 times in the file. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "another new name" appears 2 times in the file. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/optlock/OptimisticLockTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "LockDirty" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "LockAll" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Hibernate in Action" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Bauer et al" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Very boring book about persistence" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "blah blah yada yada yada" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "A modern classic" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "expecting opt lock failure" appears 2 times in the file. 103

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ordered/OrderByTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jboss.com" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "hibernate.org" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "HiA" appears 4 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/OrphanTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Widget" appears 21 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Widge" appears 21 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "part if a Widget" appears 10 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Get" appears 16 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "another part if a Widget" appears 8 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/Part.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/PropertyRefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/manytomany/Group.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 5

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/manytomany/ManyToManyOrphanTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bob" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "jboss" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "seam" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "hibernate" appears 3 times in the file. 51

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/manytomany/User.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 13

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/bidirectional/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 4 times in the file. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/bidirectional/multilevelcascade/DeleteMultiLevelOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Tranchenmodell" appears 7 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "from Preisregelung" appears 7 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "from Tranche" appears 4 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "from X" appears 4 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "from Y" appears 4 times in the file. 120
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 269

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/bidirectional/multilevelcascade/Tranchenmodell.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/composite/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 4 times in the file. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/bidirectional/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 4 times in the file. 73

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/bidirectional/multilevelcascade/DeleteMultiLevelOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Tranchenmodell" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "from Preisregelung" appears 4 times in the file. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 158

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/bidirectional/multilevelcascade/Tranchenmodell.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/unidirectional/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 6 times in the file. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/unidirectional/EmployeeInfo.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/pk/bidirectional/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 2 times in the file. 73

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/pk/unidirectional/DeleteOneToOneOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from EmployeeInfo" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from Employee" appears 2 times in the file. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/onetomany/DeleteOneToManyOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Feature" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "from Product" appears 6 times in the file. 77
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 179

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/orphan/onetomany/Product.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/pagination/DistinctSelectTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/pagination/Entry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/pagination/PaginationTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/DoesNotWork.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/DoesNotWorkPk.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/basic/BasicPropertiesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 55

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/basic/PropertyRefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Max" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "Texas" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension LogicConditionNeedOptimization Condition with || at line 200 position 41 need optimization. All method calls are advised to move to end of logic expression. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension MultipleStringLiteralsExtended The String "delete from Address" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "delete from Person" appears 2 times in the file. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/cachedcollections/CachedPropertyRefCollectionTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "members" appears 2 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/cachedcollections/ManagedObject.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/component/complete/CompleteComponentPropertyRefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123-12345-1236" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/component/complete/Identity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/component/partial/PartialComponentPropertyRefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123-12345-1236" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 4 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/inheritence/discrim/SubclassPropertyRefTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/inheritence/joined/Account.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/inheritence/joined/JoinedSubclassPropertyRefTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/propertyref/inheritence/union/UnionSubclassPropertyRefTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/Container.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/DataPoint.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/Owner.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/ProxyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a data point" appears 7 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension MultipleStringLiteralsExtended The String "proxy access did not fail on non-existent proxy" appears 2 times in the file. 287
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 292
 Warning extension MultipleStringLiteralsExtended The String "unexpected exception type on non-existent proxy access : " appears 2 times in the file. 293
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 303
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension MultipleStringLiteralsExtended The String "expecting LazyInitializationException" appears 2 times in the file. 332
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 490
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 507

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/narrow/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/narrow/ConcreteEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ConcreteEntity' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 35

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/narrow/LazyAbstractEntityReference.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'LazyAbstractEntityReference' does not extend anything. 47
 Warning extension OverridableMethodInConstructor Overridable method 'setEntity' is called in constructor body. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/proxy/narrow/ProxyNarrowingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/AbstractQueryCacheResultTransformerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 105
 Warning extension MultipleStringLiteralsExtended The String "1313 Mockingbird Lane" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "home" appears 7 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "WA" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "work" appears 7 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "s" appears 61 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "s.enrolments" appears 4 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "e" appears 19 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "e.course" appears 10 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "c" appears 6 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "s.studentNumber" appears 40 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "s.preferredCourse" appears 12 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "p" appears 8 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "s.addresses" appears 10 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "a" appears 20 times in the file. 262
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension MultipleStringLiteralsExtended The String "studentNumber" appears 19 times in the file. 406
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension MultipleStringLiteralsExtended The String "enrolments" appears 5 times in the file. 467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension MultipleStringLiteralsExtended The String "pc" appears 8 times in the file. 502
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 521
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 522
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 552
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 580
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 606
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 609
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 638
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 640
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 641
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 672
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 675
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 704
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 705
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 730
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 732
 Warning extension MultipleStringLiteralsExtended The String "addresses" appears 3 times in the file. 746
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 810
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 812
 Warning extension MultipleStringLiteralsExtended The String "preferredCourse" appears 3 times in the file. 830
 Warning extension MultipleStringLiteralsExtended The String "pCourse" appears 6 times in the file. 845
 Warning extension MultipleStringLiteralsExtended The String "e.student" appears 13 times in the file. 908
 Warning extension MultipleStringLiteralsExtended The String "student" appears 20 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "s.name" appears 9 times in the file. 913
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 986
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 988
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1035
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1037
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1143
 Warning extension MultipleStringLiteralsExtended The String "e.studentNumber" appears 11 times in the file. 1189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1211
 Warning extension MultipleStringLiteralsExtended The String "e.semester" appears 6 times in the file. 1227
 Warning extension MultipleStringLiteralsExtended The String "semester" appears 8 times in the file. 1227
 Warning extension MultipleStringLiteralsExtended The String "e.year" appears 4 times in the file. 1228
 Warning extension MultipleStringLiteralsExtended The String "year" appears 8 times in the file. 1228
 Warning extension MultipleStringLiteralsExtended The String "course" appears 9 times in the file. 1229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1298
 Warning extension MultipleStringLiteralsExtended The String "minStudentNumber" appears 3 times in the file. 1319
 Warning extension MultipleStringLiteralsExtended The String "maxStudentNumber" appears 3 times in the file. 1320
 Warning extension MultipleStringLiteralsExtended The String "select min( e.studentNumber ) as minStudentNumber, max( e.studentNumber ) as maxStudentNumber from Enrolment e" appears 2 times in the file. 1328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1362
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1397
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1507
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1511
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1517
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1555
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1556
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1562
 Warning extension MultipleStringLiteralsExtended The String "st" appears 6 times in the file. 1577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1601
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1607
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1656
 Warning extension MultipleStringLiteralsExtended The String "co" appears 5 times in the file. 1671
 Warning extension MultipleStringLiteralsExtended The String "st.name" appears 5 times in the file. 1672
 Warning extension MultipleStringLiteralsExtended The String "studentName" appears 5 times in the file. 1672
 Warning extension MultipleStringLiteralsExtended The String "st.studentNumber" appears 2 times in the file. 1673
 Warning extension MultipleStringLiteralsExtended The String "co.description" appears 3 times in the file. 1708
 Warning extension MultipleStringLiteralsExtended The String "courseDescription" appears 4 times in the file. 1708
 Warning extension MultipleStringLiteralsExtended The String "select st.name as studentName, co.description as courseDescription from Enrolment e join e.student st join e.course co order by e.studentNumber" appears 3 times in the file. 1716
 Warning extension MultipleStringLiteralsExtended The String "lame description" appears 2 times in the file. 1811
 Warning extension MultipleStringLiteralsExtended The String "select new org.hibernate.test.querycache.StudentDTO(s.name) from Student s order by s.studentNumber" appears 2 times in the file. 1874
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 1897
 Warning extension MultipleStringLiteralsExtended The String "select new Student(s.studentNumber, s.name) from Student s order by s.studentNumber" appears 2 times in the file. 1944
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1969
 Warning extension MultipleStringLiteralsExtended The String "sNumber" appears 6 times in the file. 2041
 Warning extension MultipleStringLiteralsExtended The String "sName" appears 6 times in the file. 2042
 Warning extension MultipleStringLiteralsExtended The String "select new map(s.studentNumber as sNumber, s.name as sName) from Student s order by s.studentNumber" appears 2 times in the file. 2050
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2095
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2097
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 2098
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 2139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2267
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2294
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2336
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2345
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2460
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2464
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2465

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/CompositeKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 12
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/Course.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/CourseMeetingId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/Enrolment.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/QueryCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 177
 Warning extension MultipleStringLiteralsExtended The String "from Item i where i.name='widget'" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "widget" appears 4 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "A really top-quality, full-featured widget." appears 4 times in the file. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension MultipleStringLiteralsExtended The String "Widget" appears 3 times in the file. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 366
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension MultipleStringLiteralsExtended The String "A middle-quality widget." appears 2 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "pk" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "fooName" appears 3 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "fooDescription" appears 2 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 509

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/StringCompositeKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/querycache/StudentDTO.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 28
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/queryplan/Customer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Customer' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/queryplan/Employee.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Employee' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/queryplan/GetHqlQueryPlanTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 10 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "from Person where name is null" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "from Person where name = :name" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "from Person where name = ?" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "sexCode" appears 2 times in the file. 92

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryReturnEqualsAndHashCodeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "int" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 22 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "def" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "Person" appears 6 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Customer" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "a" appears 36 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "b" appears 35 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "c" appears 34 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "key" appears 10 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "value" appears 10 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "otherkey" appears 4 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "othervalue" appears 4 times in the file. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/queryplan/User.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'User' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/Container.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/DataPoint.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/Enrolment.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/Owner.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyCriteriaQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "HIB" appears 15 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Hibernate Training" appears 16 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "JBOSS" appears 13 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 13 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 19 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 479
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 480
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 483
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 484
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 490
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 497
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 548
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 551
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 554
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 555
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 556
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 557
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 558
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 560
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 563
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 612
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 614
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 617
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 620
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 621
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 622
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 628
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 630
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 633
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 634
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 682
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 684
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 689
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 690
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 692
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 694
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 695
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 696
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 698
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 700
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 703
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 704
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 752
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 754
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 757
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 758
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 760
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 761
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 762
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 763
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 764
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 765
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 767
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 770
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 771
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 819
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 821
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 826
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 827
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 829
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 830
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 831
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 832
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 833
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 837
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 839
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 842
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 843
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 891
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 893
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 900
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 901
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 903
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 904
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 905
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 906
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 907
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 909
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 911
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 914
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 915
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 939
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 942
 Warning extension MultipleStringLiteralsExtended The String "studentNumber" appears 2 times in the file. 988
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 989
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 994
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 995
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 996
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 998
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1000
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1002
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1004
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1007
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1008
 Warning extension MultipleStringLiteralsExtended The String "st" appears 2 times in the file. 1017
 Warning extension MultipleStringLiteralsExtended The String "e" appears 2 times in the file. 1020
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1024
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1025
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1028
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1030
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1033
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1035
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1038
 Warning extension MultipleStringLiteralsExtended The String "course" appears 4 times in the file. 1047
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1054
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1055
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1058
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1060
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1063
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1065
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1068
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1123
 Warning extension MultipleStringLiteralsExtended The String "student" appears 3 times in the file. 1177
 Warning extension MultipleStringLiteralsExtended The String "s" appears 3 times in the file. 1177
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 1178
 Warning extension MultipleStringLiteralsExtended The String "s.enrolments" appears 3 times in the file. 1179
 Warning extension MultipleStringLiteralsExtended The String "Enrolment has unknown student number: " appears 3 times in the file. 1196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1293

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyProxyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension MultipleStringLiteralsExtended The String "changed" appears 69 times in the file. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint where id=" appears 4 times in the file. 333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 431
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 464
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 500
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 504
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 531
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 536
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 565
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 567
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 570
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 598
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 599
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 644
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 645
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 650
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 689
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 690
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 695
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 698
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 726
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 732
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 734
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 760
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 764
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 766
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 771
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 797
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 801
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 803
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 831
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 835
 Warning extension MultipleStringLiteralsExtended The String "original" appears 10 times in the file. 855
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 867
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 869
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 871
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 874
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 875
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 880
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 881
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 910
 Warning extension MultipleStringLiteralsExtended The String "should have thrown UnresolvableObjectException" appears 3 times in the file. 922
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 943
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 944
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 959
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 962
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 992
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 993
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 995
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 998
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 999
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1002
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1007
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1027
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1029
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1031
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1042
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1046
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1049
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1076
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1078
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1080
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1091
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1092
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1094
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1242
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1275
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1282
 Warning extension MultipleStringLiteralsExtended The String "changed again" appears 7 times in the file. 1291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1319
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1413
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1414
 Warning extension MultipleStringLiteralsExtended The String "should have failed because session was closed" appears 3 times in the file. 1421
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1445
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1446
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1449
 Warning extension MultipleStringLiteralsExtended The String "should have failed because session was detached" appears 2 times in the file. 1455
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1479
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1480
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1482
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1484
 Warning extension MultipleStringLiteralsExtended The String "should have failed because proxy was detached" appears 4 times in the file. 1489
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1511
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1512
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1515
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1523
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1541
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1542
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1573
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1574
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1577
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1587
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1607
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1608
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1611
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1615
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1622
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1642
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1643
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1645
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1647
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1656
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1674
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1675
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1678
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1686
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1710

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlySessionLazyNonLazyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension MultipleStringLiteralsExtended The String "delete from DataPoint" appears 15 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "delete from Container" appears 15 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "delete from Info" appears 15 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "delete from Owner" appears 15 times in the file. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 511
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 515
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 520
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 606
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 613
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 652
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 657
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 664
 Warning extension MultipleStringLiteralsExtended The String "from Container where id=" appears 4 times in the file. 665
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 697
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 739
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 744
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 752
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 768
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 772
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 776
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 814
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 819
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 827
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 856
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 860
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 864
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 902
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 907
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 914
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 930
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 934
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 938
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 976
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 981
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 988
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 991
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1025
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1030
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1038
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1071
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1077
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1083
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1149
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1250
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1289
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1296
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1315
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1320
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1325
 Warning extension MoveVariableInsideIf Variable 'si' can be moved inside the block at line '1,382' to restrict runtime creation. 1379
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1383

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlySessionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "original" appears 20 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "changed" appears 26 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "change written to database" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "delete from DataPoint" appears 15 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint dp order by dp.x asc" appears 14 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "done!" appears 14 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint where description='done!'" appears 14 times in the file. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 314
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 368
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 582
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 590
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 592
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 594
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 598
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 600
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 604
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 606
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 610
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 612
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 615
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 622
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 658
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 660
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 662
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 664
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 666
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 668
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 670
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 672
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 676
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 678
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 680
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 682
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 684
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 686
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 688
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 691
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 694
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 698
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 731
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 736
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 742
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 778
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 784
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 791
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 822
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 823
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 825
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 826
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 829
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 830
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 832
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 835
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 836
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 839
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 840
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 845
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 846
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 879
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 880
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 883
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 885
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 888
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 889
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 890
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 893
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 897
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 898
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 905
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 906
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 938
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint where id=" appears 2 times in the file. 945
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 946
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 978
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1002
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1013
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1016
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1020
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1054
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1064
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1067
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1071
 Warning extension MultipleStringLiteralsExtended The String "description" appears 5 times in the file. 1131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1190

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "original" appears 13 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "changed" appears 14 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "change written to database" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "delete from DataPoint" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint dp order by dp.x asc" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "done!" appears 3 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "from DataPoint where description='done!'" appears 5 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 432
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 449
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 509
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 516

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyVersionedNodesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "node-name" appears 10 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "diff-node-name" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 23 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "new parent name" appears 4 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "child" appears 22 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "new child name" appears 4 times in the file. 522

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/readonly/StudentDTO.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 17
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 19
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 23

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/reattachment/CollectionReattachmentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "p" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 47

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/reattachment/ProxyReattachmentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "p" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "child" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "from Parent" appears 4 times in the file. 119

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/resulttransformer/ResultTransformerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Partner A" appears 2 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/rowid/Point.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 9

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/rowid/RowIdTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 69

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/schematoolsnaming/Matrix.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/schematoolsnaming/StandaloneSchemaToolsNamingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--output=" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "--config=org/hibernate/test/schematoolsnaming/hibernate.cfg.xml" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Matrix_mvalues" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "--namingdelegator=" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "--naming=" appears 4 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 171

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/MigrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/test/schemaupdate/2_Version.hbm.xml" appears 2 times in the file. 68

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaExportTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/service/ClassLoaderServiceImplTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 132

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/service/ServiceBootstrappingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sorted/SortTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jboss.com" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "hibernate.org" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "HiA" appears 4 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/autodiscovery/AutoDiscoveryTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "stliu" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "developer" appears 2 times in the file. 100

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/check/ResultCheckStyleTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dummy" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "expection flush failure!" appears 6 times in the file. 53

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/hand/MonetaryAmount.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/hand/custom/CustomSQLTestSupport.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/hand/custom/CustomStoredProcTestSupport.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SELECT org.ORGID as {org.id}, " appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String " org.NAME as {org.name}, " appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "FROM ORGANIZATION org " appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String " LEFT OUTER JOIN EMPLOYMENT emp ON org.ORGID = emp.EMPLOYER" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "from ORGANIZATION org " appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 13 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "IFA" appears 11 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 5 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "AU" appears 4 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "org" appears 15 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "emp" appears 11 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "org.employments" appears 5 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "regionCode" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "orgNamesOnly" appears 2 times in the file. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension MultipleStringLiteralsExtended The String "expecting non-scalar result first" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "expecting scalar result second" appears 2 times in the file. 308
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension MultipleStringLiteralsExtended The String "EmploymentAndPerson" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "organizationreturnproperty" appears 3 times in the file. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 395
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 527
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539
 Warning extension MultipleStringLiteralsExtended The String "AMOUNT" appears 3 times in the file. 539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 619
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 619
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 620
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 620
 Warning extension MultipleStringLiteralsExtended The String " emp.EMPLOYER as employer," appears 2 times in the file. 646
 Warning extension MultipleStringLiteralsExtended The String "employments" appears 2 times in the file. 665
 Warning extension MultipleStringLiteralsExtended The String "orgid" appears 2 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 671
 Warning extension MultipleStringLiteralsExtended The String "employer" appears 2 times in the file. 673
 Warning extension MultipleStringLiteralsExtended The String "empid" appears 2 times in the file. 674
 Warning extension MultipleStringLiteralsExtended The String "employee" appears 2 times in the file. 675
 Warning extension MultipleStringLiteralsExtended The String "startDate" appears 2 times in the file. 677
 Warning extension MultipleStringLiteralsExtended The String "endDate" appears 2 times in the file. 678
 Warning extension MultipleStringLiteralsExtended The String "empId" appears 2 times in the file. 680
 Warning extension MultipleStringLiteralsExtended The String "CURRENCY" appears 2 times in the file. 681
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 834
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 846

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/hand/quotedidentifiers/NativeSqlAndQuotedIdentifiersTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "query-person" appears 4 times in the file. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/refcursor/CursorFromCallableTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Line 1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Line 2" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "NumValue.getSomeValues" appears 2 times in the file. 85
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/sql/refcursor/NumValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/stateless/Contact.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/stateless/StatelessSessionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "blah blah blah" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Blahs" appears 10 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "from Document where text is not null" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "White" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "hql-update on stateless session" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "hql-delete on stateless session" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "whtie" appears 2 times in the file. 163

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/stateless/fetching/StatelessSessionFetchingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " -> " appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/stateless/insert/StatelessSessionInsertTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/stats/StatsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".countries" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "stats were null" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "unexpected execution count" appears 5 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "unexpected row count" appears 5 times in the file. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "US" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Incorrect qry result count" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Incorrect fecthed minions count" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "hr" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "hr novice" appears 2 times in the file. 118

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "US" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Incorrect qry result count" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Incorrect fecthed minions count" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "hr" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "hr novice" appears 2 times in the file. 129

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/UnionSubclassFilterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "US" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Incorrect qry result count" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Incorrect fecthed minions count" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "hr" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "hr novice" appears 2 times in the file. 119

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselect/CompositeIdTypeBindingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselect/Employee.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 45

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselect/EmployeeGroup.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselect/EmployeeGroupId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselect/SubselectTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Melbourne, Australia" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "x23y4$$hu%3" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Mars" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "martian" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "from Being" appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/subselectfetch/SubselectFetchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 10 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 6 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 6 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension MultipleStringLiteralsExtended The String "moreChildren" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/temporal/MySQL57TimestampFspFunctionTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/temporal/MySQL57TimestampPropertyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from MySQL57TimestampPropertyTest$Entity where ts=?" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "from MySQL57TimestampPropertyTest$Entity where tsColumnDefinition=?" appears 2 times in the file. 127

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/temporal/TimePropertyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from TimePropertyTest$Entity where tAsDate=?" appears 2 times in the file. 74

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/temporal/TimestampPropertyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from TimestampPropertyTest$Entity where ts=?" appears 2 times in the file. 84

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/ternary/TernaryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bob" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Tom" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Melbourne" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension MultipleStringLiteralsExtended The String "from Employee e left join fetch e.managerBySite" appears 2 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/timestamp/TimestampTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "secret" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Gavin King" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Karbarook Ave" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "$ecret" appears 2 times in the file. 91

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/tm/CMTTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Item" appears 28 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "name" appears 11 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 5 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "description" appears 20 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "a big foo" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "a small bar" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "delete from Item" appears 6 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension MultipleStringLiteralsExtended The String "from Item" appears 7 times in the file. 405
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension MultipleStringLiteralsExtended The String "Item - 1" appears 2 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "The first item" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "Item - 2" appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "The second item" appears 2 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "No results in iterator" appears 2 times in the file. 460

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/tm/TransactionTimeoutTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 64
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Antoniak" appears 2 times in the file. 72

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 138
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 146
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 149

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 160
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 165
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 168

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/BasicTypeRegistryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/TypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ab" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 397
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/AbstractDescriptorTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/BlobDescriptorTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 77

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/LocaleTypeDescriptorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "de" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "DE" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "ch123" appears 4 times in the file. 48

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/sql/PreparedStatementProxy.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 62 position 45 need optimization. All method calls are advised to move to end of logic expression. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 87

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/sql/ResultSetProxy.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 54 position 45 need optimization. All method calls are advised to move to end of logic expression. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/sql/StringClobImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "not supported" appears 6 times in the file. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/sql/StringValueMappingTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 70

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedescriptor/ByteTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " from VariousTypesEntity " appears 3 times in the file. 63

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedescriptor/CharInNativeQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "HHH-2304" appears 2 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedescriptor/VariousTypesEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedmanytoone/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedmanytoone/AddressId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedmanytoone/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedmanytoone/TypedManyToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Matt" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "peachtree rd" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "GA" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "ATL" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "30326" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "SHIPPING" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "xyz123" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "BILLING" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "ShippingAddress" appears 2 times in the file. 98

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedonetoone/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedonetoone/AddressId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedonetoone/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typedonetoone/TypedOneToOneTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abc123" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Matt" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "peachtree rd" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "GA" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "ATL" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "30326" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "SHIPPING" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "BILLING" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typeoverride/TypeOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension MultipleStringLiteralsExtended The String "name " appears 2 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typeparameters/DefaultValueIntegerType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/typeparameters/TypeParameterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Default value should have been mapped to null" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "from Widget o where o.string = :string" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "all-normal" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "Non-Default value incorrectly loaded" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "all-default" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Default value incorrectly loaded" appears 4 times in the file. 111

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unconstrained/UnconstrainedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "123456" appears 6 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "employee" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unidir/BackrefTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Marc" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Nathalie" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Elvira" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "delete from Child" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "delete from Parent" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unidir/Child1.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unidir/Child2.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 16

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unionsubclass/UnionSubclassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Earth" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "gavin" appears 8 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MultipleStringLiteralsExtended The String "Melbourne, Australia" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Mars" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "x23y4$$hu%3" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "martian" appears 4 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension MultipleStringLiteralsExtended The String "from Being" appears 5 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "some thing" appears 5 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension MultipleStringLiteralsExtended The String "what" appears 2 times in the file. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension MultipleStringLiteralsExtended The String "marc" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 404

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unionsubclass/alias/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unionsubclass/alias/PersonID.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unionsubclass/alias/Seller.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/unionsubclass2/UnionSubclassTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mark" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "from Person p where type(p) in :who" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "who" appears 2 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension MultipleStringLiteralsExtended The String "Emmanuel" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "Steve" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "Mr" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "select height_centimeters from UPerson where name='Emmanuel'" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "select pwd_expiry_weeks from UEmployee where person_id=?" appears 2 times in the file. 199

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/util/JoinedIterableTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NoSuchElementException because the underlying collection is empty." appears 2 times in the file. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/util/PropertiesHelperTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "my.nonexistent.prop" appears 8 times in the file. 26
 Warning extension MultipleStringLiteralsExtended The String "my.string.prop" appears 3 times in the file. 28
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "my.boolean.prop" appears 3 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "my.int.prop" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "my.integer.prop" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "partial.prop1" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "partial.prop2" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "parse.error" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "did.not.exist" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "replacement did not occur" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "non-exists as boolean" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "boolean replacement did not occur" appears 2 times in the file. 68

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/util/SerializableThing.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/util/SerializationHelperTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.test.util.SerializableThing" appears 2 times in the file. 64
 Warning extension ReturnCountExtended Return count for 'loadClass' method is 2 (max allowed is 1). 105
 Warning extension MultipleStringLiteralsExtended The String " not found" appears 2 times in the file. 120
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 127

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/util/dtd/Child.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 14

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/version/Task.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 16
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 17

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/version/Thing.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 17
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 18

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/version/VersionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Gavin" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Passport" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "from Person" appears 3 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/version/db/DbVersionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "owner version not incremented" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "owner version was incremented" appears 2 times in the file. 116

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/version/sybase/SybaseTimestampVersioningTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 3 times in the file. 56
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 66
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 86
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 89
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 95
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 102
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 105
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 112
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "owner version not incremented" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "owner version was incremented" appears 2 times in the file. 211

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/where/File.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 19
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 24

hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/where/WhereTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 47

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/AbstractEhcacheRegionFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 167

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/EhCacheRegionFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EhCacheRegionFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 63
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 103

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/SingletonEhCacheRegionFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SingletonEhCacheRegionFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 59
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 82

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/nonstop/HibernateNonstopCacheExceptionHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ignoring NonstopCacheException - " appears 2 times in the file. 86

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/regions/EhcacheDataRegion.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 71
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 126
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 184
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 206
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 213

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/regions/EhcacheGeneralDataRegion.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 3 (max allowed is 1). 67

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/regions/EhcacheTransactionalDataRegion.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 65
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 106

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/AbstractReadWriteEhcacheAccessStrategy.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 383
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 386

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/EhcacheAccessStrategyFactoryImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createEntityRegionAccessStrategy' method is 4 (max allowed is 1). 53
 Warning extension MultipleStringLiteralsExtended The String "unrecognized access strategy type [" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 76
 Warning extension ReturnCountExtended Return count for 'createCollectionRegionAccessStrategy' method is 4 (max allowed is 1). 85
 Warning extension ReturnCountExtended Return count for 'createNaturalIdRegionAccessStrategy' method is 4 (max allowed is 1). 117

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/ReadOnlyEhcacheEntityRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Can't write to a readonly object" appears 2 times in the file. 114

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/ReadOnlyEhcacheNaturalIdRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Can't write to a readonly object" appears 2 times in the file. 110

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/ReadWriteEhcacheEntityRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'afterUpdate' method is 3 (max allowed is 1). 101

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/strategy/ReadWriteEhcacheNaturalIdRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'afterUpdate' method is 3 (max allowed is 1). 101

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/BaseEmitterBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/BeanUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getBeanProperty' method is 3 (max allowed is 1). 95
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 116
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 117

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/CacheRegionStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension MultipleStringLiteralsExtended The String "region" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "shortName" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "hitCount" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "missCount" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "putCount" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "hitRatio" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "elementCountInMemory" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "elementCountOnDisk" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "elementCountTotal" appears 2 times in the file. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 123
 Warning extension OverridableMethodInConstructor Overridable method 'determineHitRatio' is called in constructor body. 144
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 149
 Warning extension EitherLogOrThrow Either log or throw exception. 150
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 175

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/CacheRegionUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'determineShortName' method is 2 (max allowed is 1). 85

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/CollectionStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension MultipleStringLiteralsExtended The String "roleName" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "shortName" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "loadCount" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "fetchCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "updateCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "removeCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "recreateCount" appears 3 times in the file. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 114
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 139
 Warning extension EitherLogOrThrow Either log or throw exception. 140
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 163

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/EhcacheHibernate.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/EhcacheHibernateMBeanRegistrationImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 140

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/EhcacheStatsImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 269
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 335
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 382

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/EntityStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "shortName" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "loadCount" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "updateCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "insertCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "deleteCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "fetchCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "optimisticFailureCount" appears 3 times in the file. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 120
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension EitherLogOrThrow Either log or throw exception. 146
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 170

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/HibernateStatsImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 266
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 286
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 301

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/NullHibernateStats.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'NullHibernateStats' does not extend anything. 53
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 276
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 284
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 291
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 298

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/ProviderMBeanRegistrationHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 113
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 127
 Warning extension ReturnCountExtended Return count for 'locateSessionFactory' method is 2 (max allowed is 1). 140
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 170
 Warning extension MultipleStringLiteralsExtended The String "Error locating Hibernate Session Factory" appears 2 times in the file. 171

hibernate-orm/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/management/impl/QueryStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension MultipleStringLiteralsExtended The String "query" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "cacheHitCount" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "cacheMissCount" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "cachePutCount" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "executionCount" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "executionRowCount" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "executionAvgTime" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "executionMaxTime" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "executionMinTime" appears 3 times in the file. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 117
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 127
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 137
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 164
 Warning extension EitherLogOrThrow Either log or throw exception. 165
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 190

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/cache/EhcacheStatsImplTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sampleCache1" appears 2 times in the file. 27

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "widget" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "A bog standard item" appears 2 times in the file. 74
 Warning extension MoveVariableInsideIf Variable 'initialVersion' can be moved inside the block at line '165' to restrict runtime creation. 121
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 137
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149
 Warning extension MoveVariableInsideIf Variable 'cachedVersionValue' can be moved inside the block at line '165' to restrict runtime creation. 160

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/cache/ehcache/EhCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "widget" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "A bog standard item" appears 2 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MoveVariableInsideIf Variable 'initialVersion' can be moved inside the block at line '194' to restrict runtime creation. 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 159
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 162
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 165
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 171
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 174
 Warning extension MoveVariableInsideIf Variable 'cachedVersionValue' can be moved inside the block at line '194' to restrict runtime creation. 184

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/cache/ehcache/management/impl/RegisterMBeansTaskTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/domain/Account.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 24

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/domain/EventManager.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from HolidayCalendar" appears 2 times in the file. 224

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/domain/Person.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 35

hibernate-orm/hibernate-ehcache/src/test/java/org/hibernate/test/domain/PhoneNumber.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

hibernate-orm/hibernate-enhance-maven-plugin/src/main/java/org/hibernate/bytecode/enhance/plugins/MavenEnhancePlugin.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 80
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '<'. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108
 Warning extension MultipleStringLiteralsExtended The String "Error processing included file [%s]" appears 2 times in the file. 143
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 154
 Warning extension MultipleStringLiteralsExtended The String "Unable to enhance class [" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 155
 Warning extension RedundantReturn Redundant return. 156
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension RedundantReturn Redundant return. 169
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractEntityManagerImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 145
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse " appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "Size mismatch between tuple result [" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "] and expected tuple elements [" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 350
 Warning extension LogicConditionNeedOptimization Condition with || at line 462 position 43 need optimization. All method calls are advised to move to end of logic expression. 462
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 501
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 575
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 581
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 601
 Warning extension MultipleStringLiteralsExtended The String "Named query not found: " appears 2 times in the file. 601
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 607
 Warning extension MoveVariableInsideIf Variable 'actualReturnedClass' can be moved inside the block at line '638' to restrict runtime creation. 619
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 644
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 665
 Warning extension MultipleStringLiteralsExtended The String "Type specified for TypedQuery [" appears 2 times in the file. 703
 Warning extension MultipleStringLiteralsExtended The String "] is incompatible with query return type [" appears 2 times in the file. 705
 Warning extension ReturnCountExtended Return count for 'find' method is 4 (max allowed is 1). 793
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 878
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 880
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 897
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 910
 Warning extension MultipleStringLiteralsExtended The String "entity not in the persistence context" appears 2 times in the file. 975
 Warning extension MultipleStringLiteralsExtended The String "no transaction is in progress" appears 2 times in the file. 993
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 998
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1034
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1291
 Warning extension ReturnCountExtended Return count for 'convert' method is 2 (max allowed is 1). 1327
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1380

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractQueryImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 116
 Warning extension MultipleStringLiteralsExtended The String "Negative value (" appears 2 times in the file. 129
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 174
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 269
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 280
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 292
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 316
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 331
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 343
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 502

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 143
 Warning extension MultipleStringLiteralsExtended The String "Unable to find " appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "/META-INF/persistence.xml" appears 2 times in the file. 345
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 383
 Warning extension ReturnCountExtended Return count for 'buildScanner' method is 2 (max allowed is 1). 393
 Warning extension MultipleStringLiteralsExtended The String "Unable to load Scanner class: " appears 2 times in the file. 422
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 484
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 498
 Warning extension ReturnCountExtended Return count for 'configure' method is 2 (max allowed is 1). 528
 Warning extension MultipleStringLiteralsExtended The String "[PersistenceUnit: " appears 2 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 558
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 561
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 578
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 580
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 581
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 582
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 583
 Warning extension MultipleStringLiteralsExtended The String "true" appears 6 times in the file. 617
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 684
 Warning extension MultipleStringLiteralsExtended The String "class" appears 4 times in the file. 758
 Warning extension MultipleStringLiteralsExtended The String ": " appears 6 times in the file. 810
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 864
 Warning extension ReturnCountExtended Return count for 'getSessionInterceptorClass' method is 2 (max allowed is 1). 964
 Warning extension MultipleStringLiteralsExtended The String "Unable to instanciate " appears 2 times in the file. 979
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1005
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1061
 Warning extension ReturnCountExtended Return count for 'instantiateCustomClassFromConfiguration' method is 2 (max allowed is 1). 1167
 Warning extension MultipleStringLiteralsExtended The String " class: " appears 3 times in the file. 1185
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1250
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1251
 Warning extension MultipleStringLiteralsExtended The String "false" appears 4 times in the file. 1305
 Warning extension MultipleStringLiteralsExtended The String "Illegal usage of " appears 2 times in the file. 1361
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1409
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1637

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/EntityManagerFactoryImpl.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'classes' can be moved inside the block at line '105' to restrict runtime creation. 100
 Warning extension OverridableMethodInConstructor Overridable method 'determineJpaMetaModelPopulationSetting' is called in constructor body. 101
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension MultipleStringLiteralsExtended The String "EntityManagerFactory is closed" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "PersistenceUnitUtil#isLoaded is not always accurate; consider using EntityManager#contains instead" appears 2 times in the file. 311

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/EntityManagerImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unable to instanciate interceptor: " appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "EntityManager is closed" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Unable to instanciate session interceptor: " appears 2 times in the file. 111

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/HibernatePersistence.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 90

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/QueryHints.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 64

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/QueryImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 187
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 295
 Warning extension MultipleStringLiteralsExtended The String "Specified parameter was not found in query" appears 3 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "not yet implemented" appears 2 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 541
 Warning extension MultipleStringLiteralsExtended The String "Parameter type [" appears 2 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "] is not assignment compatible with requested type [" appears 2 times in the file. 571
 Warning extension AvoidHidingCauseException Cause exception 'cce' was lost. 613
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 618

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/TransactionImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Transaction not active" appears 4 times in the file. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 77
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 118
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 139

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/AbstractNode.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaBuilderImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 93
 Warning extension MultipleStringLiteralsExtended The String "multiselect selections cannot contain " appears 2 times in the file. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255
 Warning extension MultipleStringLiteralsExtended The String "arguments to sum() cannot be null" appears 3 times in the file. 873
 Warning extension MultipleStringLiteralsExtended The String "arguments to prod() cannot be null" appears 3 times in the file. 891
 Warning extension MultipleStringLiteralsExtended The String "arguments to diff() cannot be null" appears 3 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "arguments to quot() cannot be null" appears 3 times in the file. 1035
 Warning extension MultipleStringLiteralsExtended The String "arguments to mod() cannot be null" appears 3 times in the file. 1088
 Warning extension MultipleStringLiteralsExtended The String "unknown collection expression type [" appears 4 times in the file. 1353
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 1353

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryCompiler.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension MultipleStringLiteralsExtended The String "Named parameter [" appears 5 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "] type mismatch; expecting [" appears 3 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "], found [" appears 3 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "Criteria queries do not support positioned parameters" appears 6 times in the file. 438

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 69
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 261
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 362
 Warning extension MultipleStringLiteralsExtended The String "Number of return values [" appears 2 times in the file. 375

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaSubqueryImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/OrderImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/QueryStructure.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension MultipleStringLiteralsExtended The String "Query is not identified as sub-query" appears 2 times in the file. 158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 237
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 268
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 281

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/ValueHandlerFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 172
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 194
 Warning extension ReturnCountExtended Return count for 'determineAppropriateHandler' method is 8 (max allowed is 1). 300

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/AbstractTupleElement.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/BinaryArithmeticOperation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 173
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 194
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 212
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 219

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/CoalesceExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/CompoundSelectionImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 83

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/ConcatExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/EntityTypeExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/ExpressionImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/ListIndexExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/LiteralExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 50

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/MapEntryExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/NullLiteralExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/NullifExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/ParameterExpressionImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/PathTypeExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/SearchedCaseExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/SelectionImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 59

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/SimpleCaseExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/SizeOfCollectionExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/SubqueryComparisonModifierExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/UnaryArithmeticOperation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/AbsFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/AggregationFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension MultipleStringLiteralsExtended The String "min" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 186

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/BasicFunctionExpression.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/CastFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/CurrentDateFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/CurrentTimeFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/CurrentTimestampFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/LengthFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/LocateFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/LowerFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/ParameterizedFunctionExpression.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/SqrtFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/SubstringFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/TrimFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/expression/function/UpperFunction.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/AbstractFromImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 152
 Warning extension MultipleStringLiteralsExtended The String "Collection of values [" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "RIGHT JOIN not supported" appears 6 times in the file. 268
 Warning extension ReturnCountExtended Return count for 'join' method is 3 (max allowed is 1). 402
 Warning extension MultipleStringLiteralsExtended The String "Requested attribute was not a collection" appears 2 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "Requested attribute was not a set" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "Requested attribute was not a list" appears 2 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "Requested attribute was not a map" appears 2 times in the file. 505

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/AbstractJoinImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 72

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/AbstractPathImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 52
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " [" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 109

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/CollectionAttributeJoin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/ListAttributeJoin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/MapAttributeJoin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/MapKeyHelpers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] cannot be dereferenced" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 214

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/PluralAttributePath.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/RootImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/SetAttributeJoin.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/path/SingularAttributePath.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/AbstractPredicateImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/AbstractSimplePredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 51

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/BetweenPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/BooleanAssertionPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/BooleanExpressionPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/BooleanStaticAssertionPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/ComparisonPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 109

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/CompoundPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension ReturnCountExtended Return count for 'render' method is 3 (max allowed is 1). 117

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/ExistsPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/ExplicitTruthValueCheck.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/InPredicate.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 134

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/IsEmptyPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 53

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/LikePredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/MemberOfPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/criteria/predicate/NullnessPredicate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/engine/spi/EJB3CascadingAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/BeanCallback.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 44
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 47
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 50

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/Callback.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/CallbackResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension MultipleStringLiteralsExtended The String " - " appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "Adding %s as %s callback for entity %s" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "You can only annotate one callback method with " appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String " in bean class: " appears 2 times in the file. 112
 Warning extension MoveVariableInsideIf Variable 'callback' can be moved inside the block at line '148' to restrict runtime creation. 147
 Warning extension MultipleStringLiteralsExtended The String "Unable to create instance of " appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String " as a listener of beanClass" appears 2 times in the file. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 234
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 253

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3DeleteEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 45
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3DeleteEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 46
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3FlushEntityEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3FlushEntityEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3FlushEntityEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 52
 Warning extension LogicConditionNeedOptimization Condition with || at line 69 position 78 need optimization. All method calls are advised to move to end of logic expression. 69

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3MergeEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3MergeEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3MergeEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3PersistEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3PersistEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3PersistEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 55

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3PostDeleteEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 39
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'EJB3PostDeleteEventListener' does not extend anything. 40
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3PostInsertEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 39
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'EJB3PostInsertEventListener' does not extend anything. 40
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3PostLoadEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 39
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'EJB3PostLoadEventListener' does not extend anything. 40
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3PostUpdateEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'EJB3PostUpdateEventListener' does not extend anything. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3SaveEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3SaveEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3SaveEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3SaveOrUpdateEventListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3SaveOrUpdateEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'EJB3SaveOrUpdateEventListener' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EntityCallbackHandler.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/JpaIntegrator.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 114
 Warning extension MultipleStringLiteralsExtended The String " ," appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "entity class not found: " appears 2 times in the file. 143
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 199
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 248

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/ListenerCallback.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 53
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59
 Warning extension MultipleStringLiteralsExtended The String "Unable to load class:" appears 2 times in the file. 76

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/instrument/InterceptFieldClassFileTransformer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 78
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 79

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/internal/EntityManagerFactoryRegistry.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 90
 Warning extension MultipleStringLiteralsExtended The String "registry does not contain entity manager factory: " appears 2 times in the file. 117

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 87
 Warning extension MultipleStringLiteralsExtended The String "method" appears 2 times in the file. 117
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 122

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractIdentifiableType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension MultipleStringLiteralsExtended The String "Id attribute was not of specified type : " appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Version attribute was not of specified type : " appears 2 times in the file. 241

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractManagedType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension MultipleStringLiteralsExtended The String " named " appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String " is not present" appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "SingularAttribute " appears 3 times in the file. 188
 Warning extension ReturnCountExtended Return count for 'isPrimitiveVariant' method is 3 (max allowed is 1). 233
 Warning extension MultipleStringLiteralsExtended The String "CollectionAttribute" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "SetAttribute" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "ListAttribute" appears 2 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "MapAttribute" appears 2 times in the file. 390

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AttributeFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildAttribute' method is 4 (max allowed is 1). 88
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 98
 Warning extension ReturnCountExtended Return count for 'getMetaModelType' method is 2 (max allowed is 1). 202
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 216
 Warning extension ReturnCountExtended Return count for 'determineAttributeMetadata' method is 5 (max allowed is 1). 440
 Warning extension MultipleStringLiteralsExtended The String "collection of any not supported yet" appears 2 times in the file. 486
 Warning extension MoveVariableInsideIf Variable 'isManyToMany' can be moved inside the block at line '493' to restrict runtime creation. 489
 Warning extension OverridableMethodInConstructor Overridable method 'getPersistentAttributeType' is called in constructor body. 713
 Warning extension OverridableMethodInConstructor Calling the method 'getClassFromGenericArgument' in constructor body leads to the call of the overridable method 'getMemberDescription'. 763
 Warning extension OverridableMethodInConstructor Calling the method 'getClassFromGenericArgument' in constructor body leads to the call of the overridable method 'getMemberDescription'. 769
 Warning extension OverridableMethodInConstructor Calling the method 'getClassFromGenericArgument' in constructor body leads to the call of the overridable method 'getMemberDescription'. 772
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 867
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 917
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 933
 Warning extension MultipleStringLiteralsExtended The String "expecting IdClass mapping" appears 2 times in the file. 939
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 961
 Warning extension ReturnCountExtended Return count for 'resolveMember' method is 2 (max allowed is 1). 963
 Warning extension MoveVariableInsideIf Variable 'property' can be moved inside the block at line '970' to restrict runtime creation. 965
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 993
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1013

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/BasicTypeImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 37
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/EmbeddableTypeImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/EntityTypeImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/MetadataContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 189
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 195
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 333
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 364
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 364

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/MetamodelImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 220

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/PluralAttributeImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension ReturnCountExtended Return count for 'build' method is 5 (max allowed is 1). 93

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/SingularAttributeImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 92
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 99
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 106
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 113

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/AbstractJarVisitor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension OverridableMethodInConstructor Overridable method 'unqualify' is called in constructor body. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 105
 Warning extension OverridableMethodInConstructor Overridable method 'unqualify' is called in constructor body. 107
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "package-info.class" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String ".class" appears 2 times in the file. 170

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/Entry.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/ExplodedJarVisitor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 85
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '108' to restrict runtime creation. 107

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/FileZippedJarVisitor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 83
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 93

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/Filter.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 37

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/InputStreamZippedJarVisitor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 64
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 70
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 79

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "jar" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "file" appears 3 times in the file. 69
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 82
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 105
 Warning extension MultipleStringLiteralsExtended The String ". Cause: " appears 2 times in the file. 106
 Warning extension ReturnCountExtended Return count for 'getVisitor' method is 3 (max allowed is 1). 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/JavaElementFilter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/NamedInputStream.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 35

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension MultipleStringLiteralsExtended The String "Error while reading " appears 3 times in the file. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension MultipleStringLiteralsExtended The String "Improper use of NativeScanner: " appears 2 times in the file. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 159
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceMetadata.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 13 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "\t\t" appears 5 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "\t]\n" appears 4 times in the file. 204

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 74
 Warning extension MoveVariableInsideIf Variable 'v2Validator' can be moved inside the block at line '112' to restrict runtime creation. 93
 Warning extension MoveVariableInsideIf Variable 'v1Validator' can be moved inside the block at line '112' to restrict runtime creation. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 177
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 202
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 240

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/XmlHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expected only one " appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String " tag" appears 3 times in the file. 85

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/util/CacheModeHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'interpretCacheMode' method is 3 (max allowed is 1). 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 59

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/util/LockModeTypeHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getLockMode' method is 5 (max allowed is 1). 63
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/util/LogHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\n\t" appears 11 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "\n\t\t" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "]\n\t" appears 3 times in the file. 79

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/util/NamingHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 45
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 76

hibernate-orm/hibernate-entitymanager/src/main/java/org/hibernate/ejb/util/PersistenceUtilHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isLoadedWithoutReference' method is 3 (max allowed is 1). 29
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 87
 Warning extension MultipleStringLiteralsExtended The String "Unable to access field or method: " appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "#" appears 3 times in the file. 104
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension ReturnCountExtended Return count for 'findMember' method is 2 (max allowed is 1). 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 230

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/CriteriaCompilingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " David R. Vincent " appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "lineItems" appears 3 times in the file. 168
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 226

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/ParameterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "theBytes" appears 2 times in the file. 50

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/QueryBuilderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "quantity" appears 3 times in the file. 96
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 102
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "555" appears 4 times in the file. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/AggregationResultTest.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 60

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/BasicCriteriaUsageTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "color" appears 2 times in the file. 63

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/CastTest.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 59

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/Date3Type.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid property provided" appears 2 times in the file. 47

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/ExpressionsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "product1" appears 2 times in the file. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 74

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/basic/PredicateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "order-1" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "order-2" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "order-3" appears 3 times in the file. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "id" appears 8 times in the file. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/components/Client.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/components/ComponentCriteriaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ebersole" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "firstName" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 158

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/components/Name.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/idclass/Helper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/idclass/HelperId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 70

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/idclass/IdClassPredicateTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AAA" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "NA" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "EU" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "ASIA" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "BBB" appears 6 times in the file. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/idclass/Widget.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/idclass/WidgetId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 70

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/paths/AbstractPathImplTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "thing1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "thing2" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "thingWithQuantity3" appears 2 times in the file. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/subquery/CorrelatedSubqueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "%Caruso" appears 2 times in the file. 82

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/criteria/tuple/TupleCriteriaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Bob" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "delete Customer" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 99

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Alias.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Country.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/CreditCard.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/EmbeddedTypeTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Info.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/LineItem.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Order.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Phone.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Product.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 53

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/ShelfLife.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Spouse.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 86
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 91
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 100
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 104
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 109
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 113
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 118

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/BaseEntityManagerFunctionalTestCase.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 130
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 161
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 163

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/Cat.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/CompositeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 10

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/Distributor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/EntityManagerTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension MultipleStringLiteralsExtended The String ".distributors" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Mouse" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Micro$oft mouse" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "select i from Item i where descr like 'M%'" appears 2 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension MultipleStringLiteralsExtended The String "Should have raised an exception" appears 2 times in the file. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension MultipleStringLiteralsExtended The String "Lacoste" appears 4 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "Minimic" appears 4 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "0100202002" appears 4 times in the file. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension MultipleStringLiteralsExtended The String "000" appears 2 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "MANUAL" appears 2 times in the file. 378
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 408
 Warning extension RedundantReturn Redundant return. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/EntityWithCompositeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/Wallet.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/association/AssociationTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 64

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/beanvalidation/BeanValidationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "12" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "invalid object should not be persisted" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cacheable/annotation/ConfigurationTest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 130

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/callbacks/CallbackAndDirtyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Mark" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "USA" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 115

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/callbacks/CallbacksTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Kitty" appears 2 times in the file. 30
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension MultipleStringLiteralsExtended The String "Tomcat" appears 2 times in the file. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "Beetle" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension MultipleStringLiteralsExtended The String "should have raised an ArythmeticException:" appears 2 times in the file. 156
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 161
 Warning extension MultipleStringLiteralsExtended The String "Post version should have been incremented." appears 4 times in the file. 210
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 240

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/callbacks/CountryNameCheckerListener.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 12

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/CascadeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Conference.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/DeleteOrphanTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/DetachAndContainsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/ExtractionDocument.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 23

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/ExtractionDocumentInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/FetchTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Disney" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Mickey" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 168

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/FetchTest2.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58
 Warning extension MultipleStringLiteralsExtended The String "Should not raise an exception" appears 2 times in the file. 62
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 75
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Soldier.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Soldier2.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Teacher.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Troop.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Troop2.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/AbstractEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractEntity' does not extend anything. 48
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 89

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/B.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/C.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/D.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/E.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/F.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/G.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multicircle/MultiCircleJpaCascadeTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 323

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/connection/DataSourceInjectionTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/connection/PersistenceUnitInfoImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 108

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/Bell.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 34

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/ConfigurationObjectSettingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Was expecting error as token did not implement ValidatorFactory" appears 2 times in the file. 151

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerFactorySerializationTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 143

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerSerializationTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 113

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/InterceptorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Laptop" appears 5 times in the file. 51
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 52
 Warning extension MultipleStringLiteralsExtended The String "No interceptor" appears 4 times in the file. 82

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/NamingStrategyDelegatorConfigurationTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/PersisterClassProviderTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 75
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 507
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 612

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/ProgrammaticConfTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Tomy" appears 2 times in the file. 38

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/id/Cable.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/id/FunkyIdentifierGeneratorProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Competition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 27

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Decorate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Decorate' does not extend anything. 20

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Empire.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/FlushModeTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/FlushTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "Toonses" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Sox" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Winnie" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Junior" appears 2 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/GetReferenceTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected IllegalArgumentException" appears 2 times in the file. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48
 Warning extension MultipleStringLiteralsExtended The String "Wrong exception: " appears 2 times in the file. 49
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Hoarder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/MergeMultipleEntityCopiesAllowedTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/MergeMultipleEntityCopiesCustomTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/MergeMultipleEntityCopiesDisallowedByDefaultTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "should have failed due IllegalStateException" appears 2 times in the file. 81

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/MergeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Name2" appears 6 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension MultipleStringLiteralsExtended The String "Should raise an IllegalArgumentException" appears 2 times in the file. 146
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 151
 Warning extension MultipleStringLiteralsExtended The String "Magnicourt" appears 2 times in the file. 169

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Pet.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/Race.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/RemoveTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 82

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/emops/cascade/CascadePersistTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 114

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/exception/ExceptionTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 61
 Warning extension MultipleStringLiteralsExtended The String "Should raise an optimistic lock exception" appears 2 times in the file. 80
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86
 Warning extension MultipleStringLiteralsExtended The String "Jazz" appears 2 times in the file. 116
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/exception/Music.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/exception/Musician.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/instrument/InstrumentedClassLoader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " not found" appears 3 times in the file. 55

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/instrument/InterceptFieldClassFileTransformerTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 28
 Warning extension MultipleStringLiteralsExtended The String "getFieldHandler" appears 2 times in the file. 49

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/jee/OrmVersionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "2.0" appears 2 times in the file. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 94
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 157

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lob/BlobTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "meta" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lob/ImageReader.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lock/LockTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 4 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "force" appears 3 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "should increase the version number " appears 2 times in the file. 267
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 398
 Warning extension MultipleStringLiteralsExtended The String "select L from Lock_ L where L.id < 10000 " appears 3 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 413
 Warning extension ReturnCountExtended Return count for 'call' method is 2 (max allowed is 1). 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 492
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 507
 Warning extension EitherLogOrThrow Either log or throw exception. 508
 Warning extension MultipleStringLiteralsExtended The String "Expected LockTimeoutException but got unexpected exception" appears 5 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "Lock timeout Test (bg)" appears 4 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "background test thread finished (lock timeout is broken)" appears 6 times in the file. 527
 Warning extension MultipleStringLiteralsExtended The String "background test thread timed out on lock attempt" appears 6 times in the file. 528
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 586
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 599
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 675
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 688
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout" appears 2 times in the file. 738
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: got write lock" appears 2 times in the file. 750
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: (BG) about to read write-locked entity" appears 2 times in the file. 758
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: (BG) read write-locked entity" appears 2 times in the file. 762
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: name read =" appears 2 times in the file. 772
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: (BG) got expected timeout exception" appears 2 times in the file. 776
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 779
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout: Expected LockTimeoutException but got unexpected exception" appears 2 times in the file. 781
 Warning extension MultipleStringLiteralsExtended The String "testQueryTimeout (bg)" appears 2 times in the file. 796
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 825
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 873
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 919
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 961

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lock/LockTimeoutPropertyTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "select u from UnversionedLock u" appears 2 times in the file. 52

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lock/QueryLockingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Lockable l" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "l" appears 10 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String ".l" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "from Lockable" appears 3 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/lock/UpgradeLockTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 98
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 101
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 118

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/mapping/Phone.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/mapping/QuotingTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 36

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/DeskWithRawType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'CTOR(.*)'. 26

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/EmployeeWithRawType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/Garden.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/MetadataTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "temperature" appears 8 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285
 Warning extension MultipleStringLiteralsExtended The String "version" appears 6 times in the file. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "siblings" appears 2 times in the file. 355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 402

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/SimpleMedicalHistory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/StaticMetadataTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/WithGenericCollection.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metagen/mappedsuperclass/embeddedid/AbstractProduct.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 38

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metagen/mappedsuperclass/embeddedid/ProductId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 39

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metagen/mappedsuperclass/idclass/AbstractAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'AbstractAttribute' does not extend anything. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metagen/mappedsuperclass/idclass/AbstractAttributeId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metagen/mappedsuperclass/idclass/ProductAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ProductAttribute' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/Employer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/GetLoadTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.ejb.test.ops.Employer" appears 2 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.ejb.test.ops.Node" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/MergeNewTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cleaning" appears 2 times in the file. 41

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/MergeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "The root node" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "The child node" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "second child" appears 2 times in the file. 60

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/NumberedNode.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'NumberedNode' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 13

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/ops/PersistTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "dupe" appears 2 times in the file. 110
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 123
 Warning extension MultipleStringLiteralsExtended The String "nondupe" appears 2 times in the file. 128
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 190
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 191

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetomany/DeleteOneToManyOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Feature" appears 6 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "from Product" appears 6 times in the file. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 184

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetomany/Product.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetoone/A.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetoone/B.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetoone/OneToOneOrphanTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetoone/multilevelcascade/DeleteMultiLevelOrphansTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from Tranchenmodell" appears 7 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "from Preisregelung" appears 7 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "from Tranche" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "from X" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "from Y" appears 4 times in the file. 121
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 270

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/orphan/onetoone/multilevelcascade/Tranchenmodell.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/CustomScanner.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 18

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 81
 Warning extension MultipleStringLiteralsExtended The String "defaultpar" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "!/defaultpar.par" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 337
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 365
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 376

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/PackagedEntityManagerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "defaultpar" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "JBoss AS" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "mickey" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "main" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String " 250 W" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Failure in @ExcludeDefaultListeners" appears 2 times in the file. 181
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 223
 Warning extension MultipleStringLiteralsExtended The String "manager1" appears 5 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "Mouse" appears 4 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "Micro$oft mouse" appears 2 times in the file. 350
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension MultipleStringLiteralsExtended The String "select i from Item i where descr like 'M%'" appears 2 times in the file. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/PackagingTestCase.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131
 Warning extension MultipleStringLiteralsExtended The String "META-INF/orm.xml" appears 4 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "META-INF/persistence.xml" appears 8 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/ejb/test/pack/defaultpar/package-info.class" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/ejb/test/pack/defaultpar_1_0/package-info.class" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "org/hibernate/ejb/test/pack/explodedpar/package-info.class" appears 2 times in the file. 235

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/Pasta.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 14
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 18

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/ScannerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "defaultpar" appears 4 times in the file. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/query/CachedQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select e from Employee e" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 178
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 185

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/query/Employee.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/query/QueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "delete Item" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Mouse" appears 17 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Micro$oft mouse" appears 20 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Computer" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Apple II" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "itemName" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "%" appears 3 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "Dell computer" appears 4 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension MultipleStringLiteralsExtended The String "names" appears 6 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension MultipleStringLiteralsExtended The String "select item from Item item where item.name in :names" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.fetchSize" appears 8 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "10" appears 4 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension MultipleStringLiteralsExtended The String "Lacoste" appears 10 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Minimic" appears 4 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "0100202002" appears 4 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "select w from " appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "select w from Wallet w where w.brand = ?1" appears 2 times in the file. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension MultipleStringLiteralsExtended The String "Fnac" appears 2 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String "Darty" appears 2 times in the file. 477
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension MultipleStringLiteralsExtended The String "dd" appears 2 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "descr" appears 2 times in the file. 519
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 589
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 609
 Warning extension MultipleStringLiteralsExtended The String "select i.name,i.descr from Item i" appears 2 times in the file. 613
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 635

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/transaction/FlushAndTransactionTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Le petit prince" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Le prince" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Java for Dummies" appears 3 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension MultipleStringLiteralsExtended The String "select book from Book book where book.name = :title" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "title" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "EntityManager.commit() should trigger a flush()" appears 2 times in the file. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension MultipleStringLiteralsExtended The String "Stolen keys" appears 4 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "kitty kid" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "kitty kid2" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "Commit should be rollbacked" appears 2 times in the file. 248

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/transaction/TransactionJoiningTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/util/Article.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/util/Book.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Book' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 15

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/util/GetIdentifierTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/util/IsLoadedTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/util/PersistenceUtilHelperTest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 58
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 66

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/xml/JpaEntityNameTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 20

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/xml/XmlAttributeOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bubba" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "123 Main St" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "New York" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "NY" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "11111" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "P.O. Box 123" appears 2 times in the file. 47

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/xml/XmlTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/xml/sequences/XmlAttributeOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "New York" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "NY" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "11111" appears 2 times in the file. 44

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/collection/Parent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 18

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/collection/PostLoadTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 28

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/simplecase/BasicSimpleCaseTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "email" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "test@test.com" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test2@test.com" appears 2 times in the file. 66

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/temporal/TemporalTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "date1" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "date2" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "calendar1" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "calendar2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "obj" appears 2 times in the file. 82

hibernate-orm/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionRolledBackInDifferentThreadTest.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 59
 Warning extension MultipleStringLiteralsExtended The String "Transaction was rolled back in a different thread!" appears 2 times in the file. 88
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 118
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 127
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension MultipleStringLiteralsExtended The String "(none)" appears 2 times in the file. 160
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 172

hibernate-orm/hibernate-envers/src/demo/java/org/hibernate/envers/demo/TestConsole.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "NULL" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "id = " appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "> " appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String " does not exist.\n" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "revision = " appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String ", " appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String ")\n" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String " does not exist." appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "): " appears 6 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "Person id: " appears 3 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "Address id: " appears 3 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "Revision number: " appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "Revision must be greater then 0!" appears 2 times in the file. 367
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 456

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/AuditReaderFactory.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 52

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/DefaultTrackingModifiedEntitiesRevisionEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 28

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/AuditConfiguration.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 67
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 95
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 99
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 138
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/AuditEntitiesConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.audit_strategy" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.audit_strategy_validity_store_revend_timestamp" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.audit_strategy_validity_revend_timestamp_field_name" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.embeddable_set_ordinal_field_name" appears 2 times in the file. 119

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/ClassesAuditingData.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 25

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/EntitiesConfigurator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension MoveVariableInsideIf Variable 'xmlMappingData' can be moved inside the block at line '113' to restrict runtime creation. 111
 Warning extension MultipleStringLiteralsExtended The String "-----------" appears 2 times in the file. 158

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "false" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.track_entities_changed_in_revision" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.use_revision_entity_with_native_id" appears 2 times in the file. 117

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/PersistentClassGraphDefiner.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/RevisionInfoConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "modifiedEntityNames" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "REV" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "column" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "An entity annotated with @RevisionEntity must have a field annotated " appears 2 times in the file. 287
 Warning extension MoveVariableInsideIf Variable 'revisionListenerClass' can be moved inside the block at line '322' to restrict runtime creation. 320

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditEntityNameRegister.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 12

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 313
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 338

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/BasicMetadataGenerator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'addBasic' method is 2 (max allowed is 1). 47
 Warning extension LogicConditionNeedOptimization Condition with || at line 63 position 80 need optimization. All method calls are advised to move to end of logic expression. 63
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "param" appears 5 times in the file. 83

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "!" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "_" appears 5 times in the file. 195
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 301
 Warning extension ReturnCountExtended Return count for 'addIndex' method is 4 (max allowed is 1). 404
 Warning extension MoveVariableInsideIf Variable 'indexedValue' can be moved inside the block at line '408' to restrict runtime creation. 406
 Warning extension MoveVariableInsideIf Variable 'referencedIdMapping' can be moved inside the block at line '416' to restrict runtime creation. 413
 Warning extension ReturnCountExtended Return count for 'addValueToMiddleTable' method is 3 (max allowed is 1). 444
 Warning extension ReturnCountExtended Return count for 'getMappedBy' method is 2 (max allowed is 1). 619
 Warning extension MultipleStringLiteralsExtended The String "Going to search the mapped by attribute for %s in superclasses of entity: %s" appears 2 times in the file. 640
 Warning extension MultipleStringLiteralsExtended The String "Searching in superclass: %s" appears 2 times in the file. 646
 Warning extension MultipleStringLiteralsExtended The String "Unable to read the mapped by attribute for " appears 2 times in the file. 653
 Warning extension MultipleStringLiteralsExtended The String " in " appears 2 times in the file. 653

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/IdMetadataGenerator.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'propertyType' can be moved inside the block at line '64' to restrict runtime creation. 63
 Warning extension ReturnCountExtended Return count for 'addId' method is 6 (max allowed is 1). 93

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 10 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "class" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "param" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "REVISION_GENERATOR" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "property" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "insert" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "column" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "`" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "table" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "schema" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "catalog" appears 2 times in the file. 183

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/QueryGeneratorBuilder.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'build' method is 3 (max allowed is 1). 71

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ToOneRelationMetadataGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "An audited relation to a non-audited entity " appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 114

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AnnotationsMetadataReader.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 112
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 124
 Warning extension MultipleStringLiteralsExtended The String "Please revise Envers annotations applied to class " appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String ". " appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 292
 Warning extension ReturnCountExtended Return count for 'fillPropertyData' method is 5 (max allowed is 1). 381
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 519
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 533
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 541

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/PropertyAuditingData.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 126

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/enhanced/SequenceIdRevisionEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/enhanced/SequenceIdTrackingModifiedEntitiesRevisionEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/EntitiesConfigurations.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension LogicConditionNeedOptimization Condition with && at line 155 position 55 need optimization. All method calls are advised to move to end of logic expression. 155

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/EntityInstantiator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createInstanceFromVersionsEntity' method is 2 (max allowed is 1). 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 101
 Warning extension MoveVariableInsideIf Variable 'entityId' can be moved inside the block at line '129' to restrict runtime creation. 128
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 156
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 160

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/PropertyData.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 100

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/RevisionTypeType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 65
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 101
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 101

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 88
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 108
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 183

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 122

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/AbstractCompositeIdMapper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/AbstractIdMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 2 times in the file. 77

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/EmbeddedIdMapper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/MultipleIdMapper.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 55
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/QueryParameterData.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/id/SingleIdMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractOneToOneMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 40

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractToOneMapper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 48

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/BasicCollectionMapper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 63

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ListCollectionMapper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 65
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 74

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/MapCollectionMapper.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 62
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 70

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 89

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/component/MiddleEmbeddableComponentMapper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 51
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 66
 Warning extension MoveVariableInsideIf Variable 'propertyName' can be moved inside the block at line '91' to restrict runtime creation. 83

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/component/MiddleSimpleComponentMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 55

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/initializor/AbstractCollectionInitializor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/CollectionProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 38

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 39

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 41

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/query/OneAuditEntityQueryGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 125

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/query/OneEntityQueryGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 127

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/query/ThreeEntityQueryGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 14 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "!=" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "=" appears 6 times in the file. 206

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/query/TwoEntityOneAuditedQueryGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 138

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/query/TwoEntityQueryGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 8 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "!=" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "=" appears 4 times in the file. 168

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversIntegrator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Entity revision" appears 8 times in the file. 60

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditConjunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 53

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "<>" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String " like " appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String ">" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "<" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "<=" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String ">=" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 230

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/CriteriaTools.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 66

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/LogicalAuditExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 48

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/SimpleAuditExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/AbstractAuditQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 151
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 154
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 156

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/EntitiesAtRevisionQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'list' method is 2 (max allowed is 1). 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 68

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/EntitiesModifiedAtRevisionQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'list' method is 2 (max allowed is 1). 34
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 35

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/RevisionsOfEntityQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'list' method is 2 (max allowed is 1). 81
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 84
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 136

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'find' method is 2 (max allowed is 1). 105
 Warning extension MultipleStringLiteralsExtended The String "Entity class" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Entity name" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Primary key" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "Entity revision" appears 10 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String " is not versioned!" appears 2 times in the file. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 292

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/reader/CrossTypeRevisionChangesReaderImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension ReturnCountExtended Return count for 'findEntityTypes' method is 2 (max allowed is 1). 76
 Warning extension MultipleStringLiteralsExtended The String "Entity revision" appears 2 times in the file. 77
 Warning extension MoveVariableInsideIf Variable 'sessionImplementor' can be moved inside the block at line '89' to restrict runtime creation. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/revisioninfo/DefaultRevisionInfoGenerator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 91

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/strategy/DefaultAuditStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "<=" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "<" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 57

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'revisionInfoEntityName' can be moved inside the block at line '99' to restrict runtime creation. 90
 Warning extension MoveVariableInsideIf Variable 'dialect' can be moved inside the block at line '99' to restrict runtime creation. 92
 Warning extension MultipleStringLiteralsExtended The String " and id " appears 2 times in the file. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "is" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 288

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/AuditProcess.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 128 position 38 need optimization. All method calls are advised to move to end of logic expression. 128

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AbstractAuditWorkUnit.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 81
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 93

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 172

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/PersistentCollectionChangeWorkUnit.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 140

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/MappingTools.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 17

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/MutableBoolean.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 40

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/MutableInteger.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 51

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Pair.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 42
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 64

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 176

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Triple.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 72

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/graph/GraphTopologicalSort.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/query/Parameters.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "." appears 5 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String " " appears 9 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 236

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/query/QueryBuilder.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'addFrom' is called in constructor body. 92
 Warning extension MultipleStringLiteralsExtended The String "distinct " appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 203
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 222

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/query/UpdateBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69

hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/reflection/ReflectionTools.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-envers/src/test/java/ee/estonia/entities/Child.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-envers/src/test/java/ee/estonia/entities/Parent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 26

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/AbstractEnversTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 19
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 19

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/BaseEnversJPAFunctionalTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 175
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 206
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 208

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/EnversRunner.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/IntNoAutoIdTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/IntTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 86

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/IntTestPrivSeqEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrIntTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestNoProxyEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestPrivSeqEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 70

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/UnversionedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/UnversionedStrTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/EmbeddableListEntity1.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/EmbeddableListEntity2.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/EmbeddableMapEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/EmbeddableSetEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/EnumSetEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/MultipleCollectionEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/StringListEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/StringMapEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/collection/StringSetEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/Component1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/Component2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/ComponentSetTestEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/ComponentTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/DefaultValueComponent1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 58

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/DefaultValueComponent2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 56

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/DefaultValueComponentTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/UniquePropsEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/components/relations/OneToManyComponent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/customtype/Component.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/customtype/CompositeCustomTypeEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/customtype/ParametrizedCustomTypeEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/customtype/UnspecifiedEnumTypeEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/CustomEnum.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Y" appears 2 times in the file. 35

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/DateEmbId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/EmbId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/EmbIdTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/EmbIdWithCustomType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/EmbIdWithCustomTypeTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/ManyToOneIdNotAuditedTestEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/ManyToOneNotAuditedEmbId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/MulId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/MulIdTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/ids/UnusualIdNamingEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/ListOwnedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/ListOwningEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/MapOwnedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/MapOwningEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/SetOwnedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/SetOwningEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/SortedSetEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 120

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/biowned/ListBiowning1Entity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/biowned/ListBiowning2Entity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/sametable/Child1Entity.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/sametable/Child2Entity.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/sametable/ParentEntity.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/JoinTableEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/ListUniEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/M2MIndexedListTargetNotAuditedEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/M2MTargetNotAuditedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/MapUniEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytomany/unidirectional/SetUniEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/manytoone/unidirectional/TargetNotAuditedEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/CollectionRefEdEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/CollectionRefIngEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ListRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ListRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/SetRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/SetRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/DoubleListJoinColumnBidirectionalRefEdEntity1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/DoubleListJoinColumnBidirectionalRefEdEntity2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/DoubleListJoinColumnBidirectionalRefIngEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/DoubleSetRefCollEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 114

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/IndexedListJoinColumnBidirectionalRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/IndexedListJoinColumnBidirectionalRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListJoinColumnBidirectionalInheritanceRefEdParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListJoinColumnBidirectionalInheritanceRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListJoinColumnBidirectionalRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListJoinColumnBidirectionalRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListRefCollEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/SetJoinColumnRefCollEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/SetRefCollEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ids/SetRefCollEntityEmbId.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ids/SetRefCollEntityMulId.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 117

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/inheritance/ParentIndexedListJoinColumnBidirectionalRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 92

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/inheritance/ParentOwnedIndexedListJoinColumnBidirectionalRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefEdEmbIdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefEdMulIdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 120

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefIngEmbIdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefIngMulIdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 121

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/reventity/trackmodifiedentities/CustomTrackingRevisionEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/FieldAccessType.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 59

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/FieldAccessTypeEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/ImmutableClassAccessType.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 14

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/MixedAccessType.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/MixedAccessTypeEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/PropertyAccessType.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/accesstype/PropertyAccessTypeEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/auditReader/AuditReaderAPITest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/auditReader/AuditedTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/auditReader/NotAuditedTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/BasicTestEntity1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/BasicTestEntity2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/BasicTestEntity3.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/BasicTestEntity4.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/Delete.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "x2" appears 2 times in the file. 70

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/EmptyStringTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 27

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/GlobalVersioned.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 58

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/ManyOperationsInTransaction.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "x2" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "y3" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "z3" appears 2 times in the file. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/NoneAudited.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/NotVersioned.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/NullProperties.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "y2" appears 2 times in the file. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/OutsideTransactionTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 20
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 25
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 29
 Warning extension MultipleStringLiteralsExtended The String "data" appears 3 times in the file. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 59
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 2 times in the file. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/ScalePrecisionEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/Simple.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/SingleOperationInTransaction.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "x2" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "y2" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "x3" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "y3" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/TransactionRollbackBehaviour.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 16
 Warning extension MultipleStringLiteralsExtended The String "There should be one revision for inserted entity." appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "There should be no revision for rolled back transaction." appears 2 times in the file. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/UnversionedPropertiesChange.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 69

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/basic/UnversionedProperty.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 2 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/cache/OneToManyCache.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/cache/OneToOneCache.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/cache/QueryCache.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/DetachedMultipleCollectionChangeTest.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 71
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 72
 Warning extension MultipleStringLiteralsExtended The String "unexpected instance" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "MCE_RE1_AUD" appears 5 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "MCE_ID" appears 10 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "aud.originalId.MultipleCollectionEntity_id" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "RE1_ID" appears 5 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "aud.originalId.REV" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "aud.originalId.REV.id" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "aud.REVTYPE" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "MCE_RE2_AUD" appears 5 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "RE2_ID" appears 5 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String ", " appears 7 times in the file. 285
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 300
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 342

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/EnumSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "X" appears 2 times in the file. 122

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/StringList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "sle2_string1" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "sle2_string2" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "sle1_string1" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "sle1_string2" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "sle1_string3" appears 2 times in the file. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/StringMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/StringSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "sse2_string1" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "sse2_string2" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "sse1_string1" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "sse1_string2" appears 3 times in the file. 75

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/BasicEmbeddableCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "Action" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Hank" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Green" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Lantern" appears 2 times in the file. 71

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/DarkCharacter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/EmbeddableList1.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/EmbeddableList2.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 50
 Warning extension MultipleStringLiteralsExtended The String "strTestEntity3" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "dataComponent1" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "dataComponent2" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "dataComponent4" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "dataComponent3" appears 5 times in the file. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/EmbeddableMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/EmbeddableSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/Name.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/mapkey/ComponentMapKey.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "x1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "y2" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/mapkey/ComponentMapKeyEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/mapkey/IdMapKey.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/mapkey/IdMapKeyEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/norevision/AbstractCollectionChangeTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 21

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/norevision/Name.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/norevision/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/Components.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "a3" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "b3" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "a'" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "b'" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "a2'" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "n" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "b3'" appears 2 times in the file. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/DefaultValueComponents.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 48
 Warning extension MultipleStringLiteralsExtended The String "c1-str1" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "c2-str1" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "c2-str2" appears 9 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "upd-c1-str1" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "upd-c2-str1" appears 13 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "upd-c2-str2" appears 2 times in the file. 121

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/PropertiesGroupTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "DATA1" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "DATA2" appears 2 times in the file. 69

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/collections/CollectionOfComponents.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 70

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/collections/mappedsuperclasselement/MappedSuperclassComponentSetTestEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/dynamic/AuditedDynamicComponentTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/dynamic/NotAuditedDynamicComponentTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "static field value" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "prop1" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "updated note" appears 2 times in the file. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/dynamic/NotAuditedDynamicMapComponent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 17

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 92

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/CompositeCustom.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ObjectUserType.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ObjectUserTypeEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ObjectUserTypeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "builtInType1" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "stringUserType1" appears 2 times in the file. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ParametrizedCustom.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/UnspecifiedEnumTypeTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/DateTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/Dates.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 52
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 59
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 70
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 71

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/EnumTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/Enums.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/LobSerializableTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/LobSerializables.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "d1" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 2 times in the file. 69

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/LobTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 118

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/Lobs.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "def" appears 2 times in the file. 71

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/SerObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 62

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/SerializableTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/data/Serializables.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "d1" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/auditedEntity/ReadEntityWhitEntityNameTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 22 times in the file. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 134

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/manyToManyAudited/ReadEntityWithAuditedManyToManyTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 3 times in the file. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyAudited/ReadEntityWithAuditedCollectionTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 3 times in the file. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/oneToManyNotAudited/ReadEntityWithAuditedCollectionTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 2 times in the file. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/ReadEntityAssociatedAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 5 times in the file. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "Kinga" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Driveraje" appears 2 times in the file. 40
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 56
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 60

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedNotAudited/ReadEntityAssociatedNotAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 5 times in the file. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/flush/DoubleFlushAddDel.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/flush/DoubleFlushAddMod.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/flush/DoubleFlushModDel.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/flush/DoubleFlushModMod.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 71

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/flush/ManualFlush.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "z" appears 3 times in the file. 75

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/hashcode/ChangingHashcode.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 3 times in the file. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/hashcode/WikiPage.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/CompositeDateId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 68

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/CompositeIds.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "x2" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "y2" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "y3" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "c3" appears 2 times in the file. 124

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/DateId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 67

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/ManyToOneIdNotAudited.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/embeddedid/Item.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 14

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/embeddedid/ItemId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/embeddedid/Producer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/embeddedid/PurchaseOrder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/embeddedid/RelationInsideEmbeddableTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 22
 Warning extension MultipleStringLiteralsExtended The String "Sony" appears 3 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "TV" appears 3 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "fragile" appears 2 times in the file. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/idclass/ClassType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/idclass/IdClassWithRelationTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 22
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "initial description" appears 3 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "initial data" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "modified description" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "modified data" appears 2 times in the file. 53

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/idclass/RelationalClassId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 8

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/idclass/SampleClass.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/protectedmodifier/ProtectedConstructorEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 11
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/ids/protectedmodifier/WrappedStringId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/ChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/ChildNullAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/ParentAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/ParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/childrelation/ChildReferencing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 76

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/childrelation/ParentNotIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/emptychild/EmptyChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/emptychild/ParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 3 times in the file. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/primarykeyjoin/ChildPrimaryKeyJoinAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 66

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/primarykeyjoin/ChildPrimaryKeyJoinEntity.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 51
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 55

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/ParentIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/ParentReferencingChildTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "IT" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Admin" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Confidential" appears 2 times in the file. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/PolymorphicCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/RightsSubject.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/Role.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 21

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/unidirectional/AbstractSetEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/joined/relation/unidirectional/UnidirectionalDoubleAbstract.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/mixed/entities/ActivityId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 7

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/ChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/ParentAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/ParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/childrelation/ChildReferencing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/childrelation/ParentNotIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/discriminatorformula/DiscriminatorFormulaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Child data" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Child specific data" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Parent data" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Child data modified" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Parent data modified" appears 2 times in the file. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/discriminatorformula/ParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 58

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/notownedrelation/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/notownedrelation/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/notownedrelation/NotOwnedBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 3 times in the file. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/relation/ParentIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/single/relation/PolymorphicCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/ChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/ParentAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 63

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/ParentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/abstractparent/AuditedAbstractParentTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/childrelation/ChildReferencing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "y" appears 3 times in the file. 76

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/childrelation/ParentNotIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/notownedrelation/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/notownedrelation/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/notownedrelation/NotOwnedBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 3 times in the file. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/relation/ParentIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/relation/PolymorphicCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/components/InterfacesComponents.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/allAudited/AbstractAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "La data" appears 3 times in the file. 27
 Warning extension MultipleStringLiteralsExtended The String "La data 2" appears 5 times in the file. 49
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 108
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 114

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/allAudited/joined/JoinedAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/allAudited/subclass/SubclassAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/allAudited/union/UnionAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited/AbstractPropertiesAuditedTest.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 94
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited2/AbstractPropertiesAudited2Test.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 94
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/relation/InterfacesRelation.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/relation/SetRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/interfaces/relation/SetRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaTransaction.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 20
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 25

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/BasicList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/BasicMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/BasicSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/BasicWhereJoinTable.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/CustomComparatorEntityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sortedEntity1" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 17 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 14 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "aba" appears 11 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "aac" appears 8 times in the file. 114

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/biowned/BasicBiowned.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/inverseToSuperclass/DetailSubclass.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 9

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/inverseToSuperclass/DetailSubclass2.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 9

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/inverseToSuperclass/DetailSuperclass.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 13

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/inverseToSuperclass/ManyToManyInverseToSuperclassTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 112

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/inverseToSuperclass/Master.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 15

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/sametable/BasicSametable.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String ", child1_id " appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String " NULL" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String ", child2_id " appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String " NULL )" appears 2 times in the file. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/ternary/TernaryMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/ternary/TernaryMapEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 82

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/ternary/TernaryMapFlush.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/BasicUniList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/BasicUniMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/BasicUniSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/JoinTableDetachedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "some data" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "some other data" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/M2MIndexedListNotAuditedTarget.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 26
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytomany/unidirectional/M2MRelationNotAuditedTarget.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/bidirectional/ImplicitMappedByTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data" appears 3 times in the file. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "data2modified" appears 2 times in the file. 64

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/bidirectional/ManyToOneOwning.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/bidirectional/OneToManyOwned.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 18
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 26

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/unidirectional/RelationNotAuditedTarget.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/merge/AddDelTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 21
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "modified data" appears 2 times in the file. 46

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedAPITest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 3 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedAuditedManyToManyTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "cars" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "owners" appears 2 times in the file. 115

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedBidirectional2.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "referencing" appears 2 times in the file. 117

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "data" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "numVal" appears 2 times in the file. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedChildReferencing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "referencing" appears 3 times in the file. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedComponentCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 22

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedComponentMapKey.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "x1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "y2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "idmap" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "comp1" appears 4 times in the file. 111

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedComponents.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 134
 Warning extension MultipleStringLiteralsExtended The String "comp1" appears 8 times in the file. 141

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedCompositeCustom.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "component" appears 2 times in the file. 92

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedDetachedMultipleCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 27
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "refEntities2" appears 2 times in the file. 130

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedDoubleJoinColumnBidirectionalList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension MultipleStringLiteralsExtended The String "owner" appears 8 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "references1" appears 4 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "references2" appears 4 times in the file. 241

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedEnumSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "enums1" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "enums2" appears 2 times in the file. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedForDefaultNotUsing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 48
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "first" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "secondElement" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "someKey" appears 2 times in the file. 134
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 200
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 215
 Warning extension MultipleStringLiteralsExtended The String "stringSet" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "stringMap" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "entitiesSet" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "entitiesMap" appears 2 times in the file. 261

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedIdMapKey.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "idmap" appears 2 times in the file. 93

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedManualFlush.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 20
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 35

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedManyToOneInComponent.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "comp1" appears 2 times in the file. 96

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedMergeTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "initial data" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "updated data" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "reffering" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "reference" appears 2 times in the file. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedNotOwnedBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "contact" appears 2 times in the file. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedNullProperties.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "long1" appears 3 times in the file. 89

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedOneToManyInComponent.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "comp1" appears 2 times in the file. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedStringMap.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "strings" appears 4 times in the file. 111

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedStringSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "sse2_string1" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "strings" appears 4 times in the file. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/HasChangedUnversionedProperties.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/ModifiedFlagSuffix.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 48
 Warning extension MultipleStringLiteralsExtended The String "_CHANGED" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "long1" appears 2 times in the file. 93

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/entities/PartialModifiedFlagsEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 202

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/modifiedflags/entities/WithModifiedFlagReferencingEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/multiplerelations/Address.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 29

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/multiplerelations/MultipleAssociationsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Kinga" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Warsaw" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "Cracow" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Krakow" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Lucas" appears 2 times in the file. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/multiplerelations/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 22
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/BasicNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "data1'" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "data2'" appears 2 times in the file. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/DetachedNamingTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/EstonianTableAlias.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 20
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 37

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/JoinNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/JoinNamingRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/JoinNamingRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/NamingTestEntity1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 92

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/OneToManyUnidirectionalNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableRangeComponent.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableRangeComponentNamingTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 173
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 177
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 178

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableRangeComponentTestEntity.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'VersionsJoinTableRangeComponentTestEntity' does not extend anything. 65
 Warning extension MultipleStringLiteralsExtended The String "\"}" appears 2 times in the file. 184

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableRangeTestAlternateEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'VersionsJoinTableRangeTestAlternateEntity' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 24
 Warning extension MultipleStringLiteralsExtended The String "\", " appears 2 times in the file. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableRangeTestEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'VersionsJoinTableRangeTestEntity' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 24
 Warning extension MultipleStringLiteralsExtended The String "\", " appears 2 times in the file. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/VersionsJoinTableTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/EmbIdNaming.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 78

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinEmbIdNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.test.integration.naming.ids.JoinEmbIdNamingRefIngEntity_AUD" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinEmbIdNamingRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinEmbIdNamingRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinMulIdNaming.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.envers.test.integration.naming.ids.JoinMulIdNamingRefIngEntity_AUD" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinMulIdNamingRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 115

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/JoinMulIdNamingRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 112

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/ids/MulIdNaming.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/quotation/QuotedFieldsEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/naming/quotation/QuotedFieldsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 4 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "data1 changed" appears 2 times in the file. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notinsertable/NotInsertable.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 3 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notinsertable/NotInsertableTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notinsertable/manytoone/ManyToOneNotInsertable.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 12

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notinsertable/manytoone/NotInsertableEntityType.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 18
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 21

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notupdatable/PropertyNotUpdatableEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 16

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/notupdatable/PropertyNotUpdatableTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "constant data 1" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "constant data 2" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "modified data" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "another modified data" appears 3 times in the file. 60

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicSetWithEmbId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicSetWithMulId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BasicSetWithNullsDelete.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "data_ed_1" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "data_ed_2" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "data_ing_2" appears 2 times in the file. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/BidirectionalMapKey.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 67

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/InverseSideChanges.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/RefEdMapKeyEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/RefIngMapKeyEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/BasicDetachedList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/BasicDetachedSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/BasicDetachedSetWithEmbId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 67

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/BasicDetachedSetWithMulId.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 67

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/BasicJoinColumnSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 5 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/DataChangesDetachedSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "coll2" appears 2 times in the file. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/DetachedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "initial data" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "modified data" appears 2 times in the file. 47

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/DoubleDetachedSet.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/DoubleJoinColumnBidirectionalList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension MultipleStringLiteralsExtended The String "ed1_1" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "ed1_2" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "ed2_1" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "ed2_2" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "ed1_1 bis" appears 5 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "ed2_2 bis" appears 4 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/IndexedJoinColumnBidirectionalList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/InheritanceIndexedJoinColumnBidirectionalList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "coll1bis" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/JoinColumnBidirectionalList.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "ed1" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "ed2" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "ed1 bis" appears 4 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/detached/JoinColumnBidirectionalListWithInheritance.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/Constant.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/MapsIdTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 27

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 23
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 26

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/PersonTuple.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 13
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 49

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/hierarchy/HierarchyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "child1" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "child1 modified" appears 3 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/hierarchy/Node.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 25
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/inverseToSuperclass/DetailSubclass.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 9

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/inverseToSuperclass/DetailSubclass2.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 9

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/inverseToSuperclass/DetailSuperclass.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 11

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/inverseToSuperclass/Master.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 15

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/inverseToSuperclass/OneToManyInverseToSuperclassTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 111

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/BiRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/BiRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/Bidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/Bidirectional2.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/BidirectionalNoNulls.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/BiEmbIdRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/BiEmbIdRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/BiMulIdRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/BiMulIdRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/EmbIdBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/ids/MulIdBidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/Account.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/AccountNotAuditedOwners.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 19

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/NotAuditedNoProxyPerson.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/NotAuditedProxyPerson.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 21

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/OneToOneWithPrimaryKeyJoinTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Robert" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Saving" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Kinga" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Lukasz" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Standard" appears 2 times in the file. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/bidirectional/primarykeyjoincolumn/Person.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 17

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/UniRefEdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/UniRefIngEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/UniRefIngMulIdEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/Unidirectional.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38
 Warning extension MultipleStringLiteralsExtended The String "data_ed_2" appears 3 times in the file. 56

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/UnidirectionalMulIdWithNulls.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 20

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetoone/unidirectional/UnidirectionalWithNulls.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 38

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/primitive/PrimitiveAddDelete.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/properties/PropertiesTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/properties/UnversionedOptimisticLockingField.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 69

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/properties/UnversionedOptimisticLockingFieldEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/properties/VersionsProperties.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 70

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/ProxyIdentifier.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/QueryingWithProxyObjectTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 24
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 32
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/RemovedObjectQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Demo Data 1" appears 6 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Example Data 1" appears 6 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Demo Data 2" appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Example Data 2" appears 6 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "string 1" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "string 2" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "Value 2" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "data_ed_1" appears 6 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "data_ing_1" appears 4 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "modified data_ing_1" appears 4 times in the file. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 568
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 581

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/AggregateQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "number" appears 6 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 3 times in the file. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 162
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 168

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/CustomRevEntityQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/DeletedEntities.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/MaximalizePropertyQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "number" appears 3 times in the file. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/NullPropertyQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 21
 Warning extension MultipleStringLiteralsExtended The String "data" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "reference" appears 2 times in the file. 89

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/OrderByLimitQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 42
 Warning extension MultipleStringLiteralsExtended The String "number" appears 6 times in the file. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/RevisionConstraintQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "d" appears 4 times in the file. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/SimpleQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 53
 Warning extension MultipleStringLiteralsExtended The String "a" appears 24 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "c" appears 6 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 6 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "number" appears 5 times in the file. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/StoreDeletedData.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 49
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 87

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/ids/EmbIdOneToManyQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "x" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "reference" appears 15 times in the file. 109

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/ids/MulIdOneToManyQuery.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 48
 Warning extension MultipleStringLiteralsExtended The String "x" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "reference" appears 15 times in the file. 111

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/readwriteexpression/ReadWriteExpressionChange.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 15
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 49
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 58

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/readwriteexpression/Staff.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 26
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 36

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reference/BidirectionalReference.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 39
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "g1" appears 3 times in the file. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reference/GreetingPO.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 29
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 33

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/Custom.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 46
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 137

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomBoxed.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 136

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomBoxedRevEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomColumnMapping.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomDate.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomNoListener.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "data3" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "data5bis" appears 2 times in the file. 105

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/CustomPropertyAccess.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/DifferentDBSchemaTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 60

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/ExceptionListener.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 37
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/Inherited.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 134

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/Listener.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 45
 Warning extension MultipleStringLiteralsExtended The String "data1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "data2" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 149

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/LongRevEntityInheritanceChildAuditing.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/LongRevNumber.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 88

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/MonotonicRevisionNumberTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 24
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 31

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/trackmodifiedentities/CustomTrackingEntitiesTest.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/trackmodifiedentities/DefaultTrackingEntitiesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "x" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "y" appears 7 times in the file. 52

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/trackmodifiedentities/EntityNamesTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 21
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "Personaje" appears 3 times in the file. 55

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/trackmodifiedentities/TrackingEntitiesMultipleChangesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 54

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/revfordate/RevisionForDate.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/sameids/SameIdTestEntity1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/sameids/SameIdTestEntity2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/sameids/SameIds.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 4 times in the file. 61

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/BasicSecondary.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 65

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/NamingSecondary.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 40
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 65

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/SecondaryNamingTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/SecondaryTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/ids/EmbIdSecondary.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 68

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/ids/MulIdSecondary.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 41
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 68

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/ids/SecondaryEmbIdTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/secondary/ids/SecondaryMulIdTestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 118

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/serialization/SerializingCollection.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/strategy/ValidityAuditStrategyManyToManyTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 50

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/strategy/ValidityAuditStrategyRevEndTestCustomRevEnt.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 55
 Warning extension MultipleStringLiteralsExtended The String ", child1_id " appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String " NULL" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String ", child2_id " appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String " NULL )" appears 2 times in the file. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 203
 Warning extension MultipleStringLiteralsExtended The String "ParentEntity: " appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "Child1Entity: " appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "Child2Entity: " appears 2 times in the file. 248

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/strategy/ValidityAuditStrategyRevEndTsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", child1_id " appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String " NULL" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String ", child2_id " appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " NULL )" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 207
 Warning extension MultipleStringLiteralsExtended The String "ParentEntity: " appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "Child1Entity: " appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Child2Entity: " appears 2 times in the file. 253
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 441

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/AuditedMethodMappedSuperclass.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditAllSubclass/MappedSubclassingAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "super str" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ae" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "audited str" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "ae new" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "audited str new" appears 2 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 89
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 106
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 116
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 117

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditAtMethodSuperclassLevel/auditMethodSubclass/MappedSubclassingMethodAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "super str" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ae" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "audited str" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "ae new" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "audited str new" appears 2 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 89
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 106
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 116
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 117

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/AuditedAllMappedSuperclass.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditAllSubclass/MappedSubclassingAllAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "super str" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ae" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "audited str" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "ae new" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "audited str new" appears 2 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 89
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 113
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 115
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 116

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditedAtSuperclassLevel/auditMethodSubclass/MappedSubclassingMethodAuditedTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "super str" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ae" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "audited str" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "ae new" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "audited str new" appears 2 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 89
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 113
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal 'false'. 115
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 116

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditClassOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data 1" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "data 2" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "number1" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 58

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditPropertyOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data 1" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "data 2" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "data 3" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "number1" appears 2 times in the file. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditedBaseEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/BaseEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 15
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/MixedOverrideTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data 2" appears 2 times in the file. 35

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/NotAuditedBaseEntity.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 12
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditparents/MappedGrandparentEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 41

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditparents/MultipleAuditParentsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data 1" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "grandparent 1" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "parent 1" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "child 1" appears 2 times in the file. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditparents/SingleAuditParentsTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 30
 Warning extension MultipleStringLiteralsExtended The String "grandparent 1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "child 1" appears 2 times in the file. 41

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditparents/TotalAuditParentsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data 1" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "grandparent 1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "parent 1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "child 1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "baby 1" appears 2 times in the file. 45

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditparents/TransitiveAuditParentsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "grandparent 1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "parent 1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "child 1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "grandparent 2" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "parent 2" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "child 2" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "grandparent" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "notAudited" appears 2 times in the file. 53

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/tools/SchemaExportTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 39

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/AbstractEntityManagerTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 97

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/AbstractPerformanceTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 47
 Warning extension MultipleStringLiteralsExtended The String "RUN " appears 2 times in the file. 66
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/ComplexInsertPerformance.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 57

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/EvictAuditDataAfterCommitTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 29
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsOneTransactionPerformance.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/InsertsPerformance.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/UpdatesPerformance.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/complex/ChildEntity1.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/complex/ChildEntity2.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/performance/complex/RootEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 155

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/tools/TestTools.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101

hibernate-orm/hibernate-envers/src/test/java/org/hibernate/envers/test/various/HsqlTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/InfinispanRegionFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 107
 Warning extension MultipleStringLiteralsExtended The String "entity" appears 2 times in the file. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 116
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 128
 Warning extension MultipleStringLiteralsExtended The String "timestamps" appears 2 times in the file. 130
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 151
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 171
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 186
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 205
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 293
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 297
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 322
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 486
 Warning extension MoveVariableInsideIf Variable 'regionOverride' can be moved inside the block at line '503' to restrict runtime creation. 502

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/JndiInfinispanRegionFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'JndiInfinispanRegionFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 55
 Warning extension AvoidHidingCauseException Cause exception 'ne' was lost. 78

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/TypeOverrides.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension MultipleStringLiteralsExtended The String "evictionStrategy" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "evictionWakeUpInterval" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "evictionMaxEntries" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "expirationLifespan" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "expirationMaxIdle" appears 2 times in the file. 108
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 112
 Warning extension MultipleStringLiteralsExtended The String "isExposeStatistics" appears 2 times in the file. 117
 Warning extension LogicConditionNeedOptimization Condition with && at line 133 position 52 need optimization. All method calls are advised to move to end of logic expression. 133

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/PutFromLoadValidator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 209
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 356
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 381

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/TransactionalAccessDelegate.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'putFromLoad' method is 3 (max allowed is 1). 77
 Warning extension MultipleStringLiteralsExtended The String "Failed to invalidate pending putFromLoad calls for key " appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String " from region " appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "Failed to invalidate pending putFromLoad calls for region " appears 2 times in the file. 157

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/entity/ReadOnlyAccess.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Illegal attempt to edit read only item" appears 2 times in the file. 23

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/impl/BaseRegion.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 46
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 132
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 181
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 191

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/naturalid/ReadOnlyAccess.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Illegal attempt to edit read only item" appears 2 times in the file. 21

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/timestamp/ClusteredTimestampsRegionImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'populateLocalCache' in constructor body leads to the call of the overridable method 'get'. 63

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/timestamp/TimestampsRegionImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'getTimestampsPutCache' is called in constructor body. 49
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/CacheCommandFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

hibernate-orm/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java

Severity Category Rule Message Line
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 58

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/AbstractEntityCollectionRegionTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test/test" appears 2 times in the file. 83

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/AbstractGeneralDataRegionTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 56
 Warning extension MultipleStringLiteralsExtended The String "local is clean" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "remote is clean" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "No valid children in " appears 4 times in the file. 185
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 227

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/AbstractNonFunctionalTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 96

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "com.acme.Person" appears 7 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "com.acme.Person.addresses" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.cfg" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "person-cache" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.eviction.strategy" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "LRU" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.eviction.wake_up_interval" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "2000" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.eviction.max_entries" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "5000" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.expiration.lifespan" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "60000" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.expiration.max_idle" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "30000" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.addresses.cfg" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "person-addresses-cache" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.addresses.expiration.lifespan" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.com.acme.Person.addresses.expiration.max_idle" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "my-query-cache" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "FIFO" appears 9 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "3000" appears 8 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "10000" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "entity" appears 5 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "collection" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "timestamps" appears 12 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "query" appears 6 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "com.acme.Address" appears 5 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.entity.cfg" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "myentity-cache" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.entity.eviction.strategy" appears 5 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.entity.eviction.wake_up_interval" appears 5 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.entity.eviction.max_entries" appears 5 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "35000" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.collection.eviction.strategy" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.collection.eviction.wake_up_interval" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "3500" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.collection.eviction.max_entries" appears 2 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.cache.spi.UpdateTimestampsCache" appears 7 times in the file. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.timestamps.cfg" appears 4 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "unrecommended-timestamps" appears 4 times in the file. 330
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 347
 Warning extension MultipleStringLiteralsExtended The String "mytimestamps-cache" appears 4 times in the file. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.timestamps.eviction.strategy" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.timestamps.eviction.wake_up_interval" appears 2 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.timestamps.eviction.max_entries" appears 2 times in the file. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension MultipleStringLiteralsExtended The String "timestamps-none-eviction" appears 3 times in the file. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 397
 Warning extension MultipleStringLiteralsExtended The String "org.hibernate.cache.internal.StandardQueryCache" appears 3 times in the file. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension MultipleStringLiteralsExtended The String "local-query" appears 2 times in the file. 410
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 432
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.infinispan.statistics" appears 2 times in the file. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 481
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 505
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 508
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 509
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 514
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 520
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 528
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 529
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 534

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/access/PutFromLoadValidatorUnitTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "KEY1" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 260
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 366
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 418
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 511
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 557
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 561

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/collection/AbstractCollectionRegionAccessStrategyTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 95
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 146
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 184
 Warning extension MultipleStringLiteralsExtended The String "Error" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "k1" appears 3 times in the file. 198
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 273
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 317
 Warning extension MultipleStringLiteralsExtended The String "local is clean" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "remote is clean" appears 2 times in the file. 401
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 478
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 490

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/collection/TransactionalExtraAPITestCase.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 89

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/AbstractEntityRegionAccessStrategyTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 149
 Warning extension MultipleStringLiteralsExtended The String "node1 starts clean" appears 2 times in the file. 221
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 236
 Warning extension MultipleStringLiteralsExtended The String "node1 caught exception" appears 5 times in the file. 237
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 278
 Warning extension MultipleStringLiteralsExtended The String "Threads completed" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "Correct node1 value" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "Correct node2 value" appears 3 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "Correct initial value" appears 3 times in the file. 334
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 343
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 380
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 446
 Warning extension MultipleStringLiteralsExtended The String "Completion latch countdown" appears 2 times in the file. 459
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 505
 Warning extension MultipleStringLiteralsExtended The String "local is clean" appears 2 times in the file. 540
 Warning extension MultipleStringLiteralsExtended The String "remote is clean" appears 2 times in the file. 541
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 614
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 629

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/AbstractReadOnlyAccessTestCase.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 80

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/AbstractTransactionalAccessTestCase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80
 Warning extension MultipleStringLiteralsExtended The String "node1 caught exception" appears 2 times in the file. 81
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/TransactionalExtraAPITestCase.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83
 Warning extension MultipleStringLiteralsExtended The String "afterInsert always returns false" appears 2 times in the file. 120

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/AbstractFunctionalTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".items" appears 2 times in the file. 29

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "chris" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Chris's Item" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String ".items" appears 5 times in the file. 133
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 165
 Warning extension MultipleStringLiteralsExtended The String "steve" appears 7 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "steve's item" appears 6 times in the file. 170
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 175
 Warning extension MultipleStringLiteralsExtended The String "element" appears 4 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "element item" appears 3 times in the file. 185
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 200
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 206
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 209
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 226
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 246
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 256
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 269
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 281
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 287
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 290
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 307
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 326
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 336
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 349
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 363
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 369
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 372
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 392
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 411
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 420
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 433
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 448
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 454
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 457
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 477
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 495
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 505
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 525
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 531
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 534
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 548
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 557
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 578
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 589
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 595
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 598
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 604
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 607
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 615
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 635
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 653
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 659
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 662
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 669
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 672
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 680
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 705
 Warning extension MultipleStringLiteralsExtended The String "widget" appears 2 times in the file. 709
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 715
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 728
 Warning extension MultipleStringLiteralsExtended The String "A bog standard item" appears 2 times in the file. 734
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 738
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 750
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 753
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 761
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 778
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 785
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 798
 Warning extension MultipleStringLiteralsExtended The String "from Item" appears 4 times in the file. 800
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 803
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 811
 Warning extension MultipleStringLiteralsExtended The String "delete from Item" appears 2 times in the file. 815
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 818
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 835
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 842
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 855
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 862
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 870
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 875
 Warning extension MultipleStringLiteralsExtended The String "Ile de France" appears 4 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "ssn" appears 3 times in the file. 894
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 4 times in the file. 894
 Warning extension MultipleStringLiteralsExtended The String "state" appears 3 times in the file. 894
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Hits" appears 7 times in the file. 910
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Misses" appears 7 times in the file. 911
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Puts" appears 7 times in the file. 912
 Warning extension MultipleStringLiteralsExtended The String "NaturalId Cache Queries" appears 7 times in the file. 913

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/ConcurrentWriteTest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 142
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 149
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 245
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 262
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 295
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 321
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 351
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 396
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 417
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 484
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 531
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 544

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/Contact.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/Customer.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/Item.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/JndiRegionFactoryTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.jnp.interfaces.NamingContextFactory" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "java.naming.factory.url.pkgs" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "org.jboss.naming:org.jnp.interfaces" appears 2 times in the file. 99
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 160

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/OtherItem.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 38

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/SingleNodeTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 68
 Warning extension MultipleStringLiteralsExtended The String "Error" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 111

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/bulk/BulkOperationsTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 94
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 106
 Warning extension MultipleStringLiteralsExtended The String "Red Hat" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "JBoss" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "Kabir" appears 5 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Updated" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "JBoss contact " appears 4 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String " exists" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "2222" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String " has correct TLF" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "Got updated contacts" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Updated contacts" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "UpdatedAgain" appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "cName" appears 5 times in the file. 204
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 220
 Warning extension MultipleStringLiteralsExtended The String "select contact.id from Contact contact" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "update Contact set tlf = :cNewTLF where name = :cName" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "cNewTLF" appears 2 times in the file. 289
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 378
 Warning extension MultipleStringLiteralsExtended The String "CREATE CUSTOMER " appears 2 times in the file. 387
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 391

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/classloader/Account.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 120

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/classloader/AccountHolder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/classloader/ClassLoaderTestDAO.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Updating account " appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String " to branch " appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Set branch " appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "rolling back" appears 7 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "Updated account " appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "AccountRegion" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Getting account " appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String " to balance " appears 2 times in the file. 188
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 271
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 286

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/classloader/IsolatedClassLoaderTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension MultipleStringLiteralsExtended The String "replicated-query" appears 5 times in the file. 108
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 136
 Warning extension MultipleStringLiteralsExtended The String "replicated-entity" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "TCCL is " appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "isolated1" appears 2 times in the file. 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 162
 Warning extension MultipleStringLiteralsExtended The String "isolated2" appears 2 times in the file. 173
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 177
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 185
 Warning extension MultipleStringLiteralsExtended The String "63088" appears 10 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "Query cache used" appears 5 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "63088 has correct # of accounts" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "Correct branch for Smith" appears 3 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "94536" appears 5 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "Correct high balances for Jones" appears 3 times in the file. 270

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/classloader/SelectedClassnameClassLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String ")" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String " is discarded" appears 2 times in the file. 115

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/ClusterAwareRegionFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 84

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/DualNodeJtaPlatformImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 78
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 79

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/DualNodeJtaTransactionImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 87
 Warning extension AvoidHidingCauseException Cause exception 'sqle' was lost. 101
 Warning extension AvoidHidingCauseException Cause exception 'sqle' was lost. 130
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 165
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 176
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 198
 Warning extension AvoidHidingCauseException Cause exception 'th' was lost. 200
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 224
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 234
 Warning extension MultipleStringLiteralsExtended The String "TODO - please implement me!!!" appears 2 times in the file. 239
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 265

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/DualNodeJtaTransactionManagerImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 72
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 82
 Warning extension MultipleStringLiteralsExtended The String " for thread " appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "no current transaction" appears 2 times in the file. 130

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/DualNodeTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 184

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".contacts" appears 2 times in the file. 74
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 203
 Warning extension MultipleStringLiteralsExtended The String "Exception rolling back txn" appears 4 times in the file. 204
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 226
 Warning extension MultipleStringLiteralsExtended The String "Find customer ended." appears 2 times in the file. 232
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 274
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 300
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 304
 Warning extension MultipleStringLiteralsExtended The String "Customer#" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String " was in cache" appears 4 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "Contact#" appears 4 times in the file. 321
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 346
 Warning extension MultipleStringLiteralsExtended The String "MyListener[" appears 2 times in the file. 368

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/NaturalIdInvalidationTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "##NaturalId" appears 2 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "000" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Ile de France" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "ssn" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "state" appears 2 times in the file. 200
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 241

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/query/QueryRegionImplTestCase.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 148
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 171
 Warning extension MultipleStringLiteralsExtended The String "Reader finished promptly" appears 2 times in the file. 189
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 189
 Warning extension MultipleStringLiteralsExtended The String "writer saw no exceptions" appears 2 times in the file. 203
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 251
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 272

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/stress/PutFromLoadStressTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension MoveVariableInsideIf Variable 'opsPerMS' can be moved inside the block at line '181' to restrict runtime creation. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/stress/SecondLevelCacheStressTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "INSERT" appears 2 times in the file. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension MultipleStringLiteralsExtended The String "UPDATE" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "FIND_UPDATED" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "FIND_QUERY" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "FIND_RANDOM" appears 2 times in the file. 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 181
 Warning extension MultipleStringLiteralsExtended The String "DELETE" appears 2 times in the file. 192
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 213
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 258
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 271
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 284
 Warning extension MultipleStringLiteralsExtended The String "Unexpected family: " appears 2 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "Zamarre" appears 2 times in the file. 416
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 549
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 566
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 579

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/tm/JBossStandaloneJtaExampleTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UserTransaction" appears 4 times in the file. 113
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 115
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 134
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 158
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188
 Warning extension MultipleStringLiteralsExtended The String "org.jnp.interfaces.NamingContextFactory" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "java:/MyDatasource" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 293
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 301
 Warning extension MultipleStringLiteralsExtended The String "transactional" appears 2 times in the file. 309

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/tm/JtaPlatformImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 66

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/tm/XaTransactionImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 90
 Warning extension AvoidHidingCauseException Cause exception 'sqle' was lost. 104
 Warning extension AvoidHidingCauseException Cause exception 'sqle' was lost. 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 169
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 180
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 201
 Warning extension AvoidHidingCauseException Cause exception 'th' was lost. 203
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 227
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 237
 Warning extension MultipleStringLiteralsExtended The String "TODO - please implement me!!!" appears 2 times in the file. 242
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 268

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/tm/XaTransactionManagerImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 51
 Warning extension MultipleStringLiteralsExtended The String "no current transaction" appears 2 times in the file. 84

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/util/BatchModeJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 73
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 74

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/util/BatchModeTransactionManagerLookup.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/util/CacheTestSupport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/util/CacheTestUtil.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "FailureExpected" appears 2 times in the file. 122
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 145

hibernate-orm/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/util/ClassLoaderAwareCache.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 146

hibernate-orm/hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiClassLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension ReturnCountExtended Return count for 'findClass' method is 2 (max allowed is 1). 70
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension ReturnCountExtended Return count for 'findResource' method is 3 (max allowed is 1). 109
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 134
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 162
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 173

hibernate-orm/hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiJtaPlatform.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 81

hibernate-orm/hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiScanner.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 75
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 119
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 130

hibernate-orm/hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 87

hibernate-orm/hibernate-osgi/src/main/java/org/hibernate/osgi/util/OsgiServiceUtil.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48

hibernate-orm/hibernate-proxool/src/main/java/org/hibernate/service/jdbc/connections/internal/ProxoolConnectionProvider.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 231

hibernate-orm/hibernate-proxool/src/test/java/org/hibernate/service/jdbc/connections/internal/ProxoolConnectionProviderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "pool-one" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "pool-two" appears 3 times in the file. 59

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/async/ExecutableAdapter.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 38
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 63

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/async/TimedExecutor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/byteman/BytemanHelper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 39

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/AbstractReadWriteAccessStrategy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 25
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 26
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 330
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 333

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseNaturalIdRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 72

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java

Severity Category Rule Message Line
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 47

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/CachingRegionFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension MultipleStringLiteralsExtended The String "CachingRegionFactory should be only used for testing." appears 2 times in the file. 53

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/ReadOnlyEntityRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Can't write to a readonly object" appears 2 times in the file. 71

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/ReadWriteEntityRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'afterUpdate' method is 3 (max allowed is 1). 76

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/ReadWriteNaturalIdRegionAccessStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'afterUpdate' method is 3 (max allowed is 1). 76

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/cache/Timestamper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 39
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 47
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/env/ConnectionProviderBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "db1" appears 2 times in the file. 55

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/jta/JtaAwareConnectionProviderImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension ReturnCountExtended Return count for 'getConnection' method is 2 (max allowed is 1). 96
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 123
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 154
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 204
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 222
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 228

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 260
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 262
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 270
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 272
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 276
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 280
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 388
 Warning extension MoveVariableInsideIf Variable 'items' can be moved inside the block at line '496' to restrict runtime creation. 495
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 495
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 513
 Warning extension ReturnCountExtended Return count for 'readCommittedIsolationMaintained' method is 2 (max allowed is 1). 519
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 533
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 540

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseUnitTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 47

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/CustomRunner.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 216
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 222
 Warning extension ReturnCountExtended Return count for 'convertSkipToIgnore' method is 2 (max allowed is 1). 228
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 288
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 330

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/ExtendedFrameworkMethod.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 105 position 45 need optimization. All method calls are advised to move to end of logic expression. 105

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/ExtraAssertions.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 78
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 96

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/Helper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 117

hibernate-orm/hibernate-testing/src/main/java/org/hibernate/testing/junit4/TestClassMetadata.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension EitherLogOrThrow Either log or throw exception. 198
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 208